Syntax Array 1 Dimensional and Multidimensional
Here I will sharing about making a one-dimensional Array and Multi Dimensions in java, although I have not proficient in programming, hopefully this article can be helpful and useful for those who are confused create arrays. before entering into the discussion, Array is the most important part of a program, if you want to create a program I recommend to Array in advance, because many programs are starting to create the array.
Definition of Array itself is a collection / sequence of data elements of the same type and form of its syntax is tipe_array nama_array [constant]; then struct is a collection of data values is allowed for different types of data and its syntax is struct nama_struct. (wikipedia).
Definition of Array itself is a collection / sequence of data elements of the same type and form of its syntax is tipe_array nama_array [constant]; then struct is a collection of data values is allowed for different types of data and its syntax is struct nama_struct. (wikipedia).
- Here is an example for a 1 Dimensional Array in java:
Okay, just copied into notepad ++ you, and please save and write the name of the file to the end (.java) setealh compile it directly via CMD. See, you can do it? if you do not know my fill, I'll love the explanation below.
- And for an example of the Multi Dimensional Array in java, please see the picture below:
And as above, copy it into notepad ++ you save with the suffix (.java), save and compile it into CMD.
Excuse me mate, I gave an example through the screenshot, because if I would rewrite you definitely live copy, and that's where that makes us hard to learn, hehehe ☺.
Who do not know how to compile it to its CMD please Click Here for the tutorial and explanation.
Thanks hopefully help and can be useful for us.
Excuse me mate, I gave an example through the screenshot, because if I would rewrite you definitely live copy, and that's where that makes us hard to learn, hehehe ☺.
Who do not know how to compile it to its CMD please Click Here for the tutorial and explanation.
Thanks hopefully help and can be useful for us.
Belum ada tanggapan untuk "Syntax Array 1 Dimensional and Multidimensional"
Post a Comment