How to find the size of an array
a)array.length()
b)array.length
c)array.size()
d)array.size
Answer Posted / jigar gandhi
Answer is b
array.length is for array
and
array.size() is for arraylist
| Is This Answer Correct ? | 37 Yes | 1 No |
Post New Answer View All Answers
Differentiate jar and war files?
What is gui programming?
Can I extend singleton class in java?
Explain, java is compatible with all servers but not all browsers?
What is the meaning of find and replace?
Is arraylist a class in java?
What are the supported platforms by java programming language?
What is ellipsis in java?
What is the core java?
Why declare Main() inside the class in java ?
What is an error in java?
What is final keyword in java?
Is static variable stored in heap?
do I need to use synchronized on setvalue(int)? : Java thread
List two java ide’s?