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

Why is java multithreaded?

1044


what is thread? : Java thread

1039


Explain about static nested classes in java?

1112


What about features of local inner class?

1115


Explain numeric promotion?

1160


Does java isempty check for null?

1040


What are the differences between the constructors and methods?

1178


What is an example of a conditional statement?

1097


Explain the difference between jdk, jre, and jvm?

1081


What is static block?

1184


Is oracle charging for java?

1078


Write a java program to print fibonacci series?

1004


What is the history of java?

1047


Say any two properties in beans?

1108


How do you check whether the list is empty or not in java?

1014