KnowledgeBoat Logo
|

Computer Applications

Which of the following function finds the size of array
char m[] = {'R', 'A', 'J', 'E', 'N', 'D', 'R', 'A' };?

  1. m.sizeof (a)
  2. m.elementsof (m)
  3. m.length
  4. None

Java Arrays

56 Likes

Answer

m.length

Reason — m.length will find the size of array m[].

Answered By

24 Likes


Related Questions