Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does opcode mean?

1005


List the interfaces which extends collection interface?

893


Explain when noclassdeffounderror will be raised ?

990


How do you control extraneous variables?

859


What is boolean flag in java?

1037


What is a default constraint?

1017


What is an array length?

861


What is the advantage of OOP in java?

1087


What is the maximum size of byte array in java?

957


What is meant by class loader? How many types are there? When will we use them?

914


Explain access modifiers in java.

975


What are the main uses of this keyword?

998


What is the meaning of 3 dots in java?

1113


How do I compare two strings in word in java?

940


Can a class have 2 constructors?

851