Home » JAVA Programming » Arrays » Question
  1. Which of these is an incorrect Statement?
    1. Array can be initialized when they are declared.
    2. Array can be initialized using comma separated expressions surrounded by curly braces.
    3. It is necessary to use new operator to initialize an array.
    4. None of these
    5. NA
Correct Option: C

Array can be initialized using both new and comma separated expressions surrounded by curly braces example : int arr[5] = new int[5]; and int arr[] = { 0, 1, 2, 3, 4};



Your comments will be displayed only after manual approval.