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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does constructor be static?

1021


What is the difference between an if statement and a switch statement?

1142


What about abstract classes in java?

1042


Explain the JDB in depth & command line.

996


What is the difference between a switch statement and an if statement?

1062


How to declare an arraylist in java?

1065


How dead lock situation occurs in java and how you can identify it?

971


Is cout buffered?

1158


How to avoid memory leak in java?

1111


How is string stored in java?

1045


What is volatile data type?

982


What are encapsulation, inheritance and polymorphism?

985


What is encapsulation in java?

1084


What are decalarations?

1103


What is a singleton factory?

947