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
What does null mean in java?
How to handle a web browser resize operation?
How do you generate random numbers in java?
What is the locale class in java programming?
What are Normalization Rules? Define Normalization?
Can a class be protected in java?
What modifiers may be used with a top-level class?
What is static keyword?
Which class is the superclass for all the classes?
What is complexity in java?
How to sort a collection of custom Objects in Java?
how to write a program for sending mails between client and server
What is the difference between numeric and integer?
How do you use spaces in java?
What classes of exceptions may be thrown by a throw statement?