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 / nagesh

length is a public static final variable in an array which
will specify the capacity of that array. length() is a
function on strings to find number of characters in that.

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sizeof return?

978


How we can execute any code even before main method?

1127


explain what is transient variable in java?

1115


Is passing by reference faster?

982


Can we use catch statement for checked exceptions?

955


What defines function?

966


What is a native method in java programming?

1052


If we don’t want some of the fields not to serialize how to do that?

1006


What is array pointers ?

1016


Can we have multiple classes in single file ?

1062


What is the collections api?

1046


What is the significance of continue jump statement? Explain with an example.

1283


What is the numeric promotion?

1013


What is a class in java?

1001


What is overloading and overriding in java?

1212