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 will you measure that int takes up only 32 bits in memory?

Answers were Sorted based on User's Feedback



How will you measure that int takes up only 32 bits in memory?..

Answer / umesh naik

System.out.println(Integer.SIZE);

it will print 32

System.out.println("Float.SIZE "+Float.SIZE);

it will print 32

System.out.println("Long.SIZE "+Long.SIZE);

it will print 64

Is This Answer Correct ?    0 Yes 0 No

How will you measure that int takes up only 32 bits in memory?..

Answer / sachin tyagi

by using random function which never generate value more
than 32 bits.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

How do you make a thread in java?

0 Answers  


Explain about interrupt() method of thread class ?

0 Answers  


can rmi and corba based applications interact ?

0 Answers  


Mention some features of java?

0 Answers  


Explain method overloading and overriding?

6 Answers  


What is boolean flag in java?

0 Answers  


What is map and hashmap in java?

0 Answers  


What do you understand by the term wrapper classes?

0 Answers  


What is the difference between class & object?

0 Answers  


What is void class in java?

0 Answers  


Why object class is super class for every class in java?

0 Answers  


What are legal modifiers that we can use to declare an inner class?

1 Answers   Infosys,


Categories