laksh-avatar

Kindly provide an example of JAVA Programming Array.

Hi all! I have lost all hope but I believe this forum can help me. Can some one provide an example.
0%

6 replies

over 13 years ago
rogerpapa-avatar
"For instance, we can define an array name sal to represent a set of salaries_x000D_ of a group of employees. A particular value is indicated by writing a number_x000D_ called index number or subscript in brackets after the array name._x000D_ For example : sal[10] represents the salary of the 10 employeeS. While the_x000D_ complete set of values is referred to as an array, the individual values are called_x000D_ elements._x000D_ _x000D_ Source: http://in.docsity.com/en-docs/Object_Oriented_Programming_-_JAVA_and_VISUAL_BASIC__lecture_notes__A__SINGH"
over 13 years ago
lalitchohan-avatar
The length of a wide range is established in the event the assortment is made. Immediately after development, its length is definitely fixed. You have observed certainly one of arrays already, generally way of this "Hullo Earth!" software. This looks at arrays inside increased details.