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

Answers were Sorted based on User's Feedback



How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

Answer / jigar gandhi

Answer is b
array.length is for array
and
array.size() is for arraylist

Is This Answer Correct ?    37 Yes 1 No

How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

Answer / ashish shinkar

array.length

Is This Answer Correct ?    18 Yes 2 No

How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

Answer / somasekhar

answer is b

Is This Answer Correct ?    16 Yes 1 No

How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

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

How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

Answer / sivadasan

Answer 'C'

Is This Answer Correct ?    3 Yes 17 No

How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size..

Answer / krishna

array.lenth()

Is This Answer Correct ?    1 Yes 15 No

Post New Answer

More Core Java Interview Questions

Explain the difference between string, stringbuffer and stringbuilder in java?

0 Answers  


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

0 Answers  


when System.out.println("") is executed what happens in the back ground?

2 Answers  


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

0 Answers  


What is the difference between ArrayList and Vector? which one is better in Java

0 Answers   SkillGun Technologies,


what is the swingutilities.invokelater(runnable) method for? : Java thread

0 Answers  


what is difference between global methods and local methods?

1 Answers  


what is the diff b/w arraylist and vector?

6 Answers   Code Genesis, Genesis, Sprintine Labs,


What is difference between filereader and bufferedreader?

0 Answers  


whats the difference between == and .equal ?

10 Answers   Cisco,


why java not supproting multiple inheritance?

5 Answers  


How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)

3 Answers   ProdEx Technologies,


Categories