| 1 | package Arrays; |
| 2 | |
| 3 | public class ArraysIntro { |
| 4 | public static void main(String args[]) { |
| 5 | //creating an array |
| 6 | |
| 7 | int marks[] = new int[50]; |
| 8 | |
| 9 | int numbers[] = {1, 2, 3}; |
| 10 | |
| 11 | int moreNumbers[] = {4, 5, 6}; |
| 12 | |
| 13 | String fruits[] = {"apple", "mango", "orange"}; |
| 14 | |
| 15 | System.out.println(marks[0]); |
| 16 | System.out.println(numbers[0]); |
| 17 | System.out.println(moreNumbers[0]); |
| 18 | System.out.println(fruits[0]); |
| 19 | } |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…