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

How do you pass by reference?

986


You're given a Boolean 2D matrix, can you find the number of islands?

1046


What is oop principle in java?

1051


I want to persist data of objects for later use. What is the best approach to do so?

1001


What are 4 pillers of object orinted programming?

944


What is api in java?

932


What is stringjoiner ?

910


What is a for loop in java?

991


What is java console application?

943


How we can skip finally block of exception even if some exception occurs in the exception block in java?

878


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1019


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2283


What is the properties class in java programming?

943


What do you know about the garbate collector?

977


Why is multithreading important?

889