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

What is oops in java?

0 Answers  


Is java supports multiple inheritance? explain?

12 Answers   BUET, Inforica,


Can a source file contain more than one class declaration?

0 Answers  


Why declare Main() method as a static in java ?

0 Answers   HCL,


what is the default value of a variable char?(If not assigned)

4 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


How does compareto work in java?

0 Answers  


Write a program to print 15 random numbers using foreach of java 8?

0 Answers  


Why a dead thread occurs?

0 Answers  


Can you instantiate the math class in Java?

0 Answers   IBS,


What happens if I remove static from main method?

0 Answers  


System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...

2 Answers   FCS, TCS,


Categories