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
Can there be an abstract method without an abstract class?
How does java enable high performance?
Define inheritance with reference to java.
Can set contain duplicates?
Can you explain the usages of class.forname()?
What does indexof return in java?
What is string made of?
Can a class with private constructor be extended?
What is the default value of the local variables?
Write java program to reverse string without using api?
What is a war file?
Is the empty set a singleton?
What is variable in java?
What is downcasting?
What do you know about the garbate collector?