(String[] args)
| 17 | } |
| 18 | |
| 19 | public static void main(String[] args) { |
| 20 | int a = 5; |
| 21 | changeVal(a); |
| 22 | System.out.println(a); // 5 |
| 23 | |
| 24 | int[] arr = new int[3]; |
| 25 | arr[0] = 5; |
| 26 | arr[1] = 8; |
| 27 | arr[2] = 7; |
| 28 | |
| 29 | changeArray(arr); |
| 30 | printArray(arr); |
| 31 | |
| 32 | boolean ans = true; |
| 33 | for (int i = 1; i < arr.length; i++){ |
| 34 | if(arr[i] < arr[i-1]){ |
| 35 | ans = false; |
| 36 | } |
| 37 | } |
| 38 | System.out.println(ans); |
| 39 | } |
| 40 | } |
nothing calls this directly
no test coverage detected