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 is meant by call by reference?

944


What advantage do java's layout managers provide over traditional windowing systems?

908


When should you use arraylist and when should you use linkedlist?

871


What is array length?

929


What are the properties of thread?

860


Describe the syntax of multiple inheritance? When do we use such an inheritance?

1024


When does a class need a virtual destructor?

949


what is thread? : Java thread

921


Why do we need autoboxing in java?

936


What is hasnext in java?

968


What is difference between iterator access and index access?

1011


What is string builder in java?

949


What are the different conditional statements?

932


Which number is denoted by leading zero in java?

1192


Differentiate between a class and an object.

988