Java OCA OCP Practice Question 1108

Question

Which of the following declare an array of String objects?

  • A. String[] s;
  • B. String []s;
  • C. String [s];
  • D. String s[];


A, B and D.

Note

The identifier name may not be enclosed in brackets.




PreviousNext

Related