Which statements initialize the values in an array? Mark all that apply

1 answer

- int[] numbers = new int[5];
- int[] numbers = {1, 2, 3, 4, 5};
- int[] numbers;
numbers = new int[5];
- int[] numbers = new int[]{1, 2, 3, 4, 5};
- int[] numbers;
numbers = {1, 2, 3, 4, 5};
Similar Questions
    1. answers icon 1 answer
  1. 9.10: Reverse ArrayWrite a function that accepts an int array and the array’s size as arguments. The function should create a
    1. answers icon 3 answers
  2. Create a program by taking the following steps:Initialize a variable named num1 with the value 5. Initialize a variable named
    1. answers icon 5 answers
    1. answers icon 4 answers
more similar questions