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

What are voids?

917


Give an example of call be reference significance.

983


Which collections are thread safe in java?

883


What is overriding in java?

989


Write a java program to print fibonacci series?

908


What is jit compiler in java?

1027


Can a class be declared as static?

1107


What are the main differences between the java platform and other platforms?

993


Explain the hierarchy of java exception classes?

1021


What is the main advantage of passing argument by reference?

909


What are the major drawbacks of external iteration?

1012


Is double bigger than float?

912


What is constant in programming?

1028


How does remove work in java?

906


What is difference between stringbuffer and string?

897