KnowledgeBoat Logo
|

Computer Applications

Which of the following is the correct usage?

  1. int a[-40]
  2. int a[40]
  3. float a[0 - 40]
  4. None

Java Arrays

245 Likes

Answer

int a[40]

Reason — The declaration of array int a[40] follows correct syntax.

Answered By

82 Likes


Related Questions