How to find the size of an array
a)array.length()
b)array.length
c)array.size()
d)array.size

Answer Posted / ashish shinkar

array.length

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me the Importent classes in net package?

1578


What are passing parameters?

581


What do you understand by weak reference?

549


Which is a valid identifier?

535


Can each java object keep track of all the threads that want to exclusively access it?

527






Why set is used in java?

564


What are the differences between getting and load method?

534


What is difference between == equals () and compareto () method?

525


How do you check if two strings are equal in java?

574


What does the exclamation mark mean in java?

586


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

754


What are the benefits of operations?

507


Why java is used everywhere?

584


What is character in data type?

542


How to instantiate static nested classes in java?

554