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
Difference between a process and a program?
Which is better 64 bit or 32 bit?
What is a nested list?
How many boolean functions are there?
Does list allow duplicates in java?
How do you declare a string variable?
can rmi and corba based applications interact ?
What technique is carried out to find out if a particular string is empty?
What are register variables what are the advantages?
How do you use parseint in java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
Can vector have duplicates in java?
What is bigger kb or mb?
Why null value is used in string?
Explain importance of inheritance in java?