A

Admin • 831.35K Points
Coach

Q. Which of the following statements is used to create an array of 10 integers?

  • (A) int[10] arr = new int[];
  • (B) int arr = new int[10];
  • (C) int arr[] = new int[10];
  • (D) int arr = int[10];
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Java
  • Hashtags: Java Array

Explanation by: Admin
Option C is the correct syntax to create an array of 10 integers.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.