A

Admin • 825.56K Points
Coach

Q. Which of these is the correct method to create an array in java?

  • (A) int[] arr = {1, 3, 5};
  • (B) int[] arr;
  • (C) arr = new int[] {3, 1, 8};
  • (D) All of these
  • Correct Answer - Option(D)
  • Views: 6
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.