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 access modifiers can be used for variables?

1081


Why main() method is public, static and void in java ?

1044


What are facelets templates?

989


What is the importance of static variable?

1067


How many classes can any class inherit java?

936


State the significance of public, private, protected class?

1044


Explain constructors and types of constructors in java.

1050


What is the maximum length of a url?

896


explain copyonwritearraylist and when do we use copyonwritearraylist?

909


Why do we override tostring method in java?

906


How to reverse a string in java?

1015


List the features of java programming language.

981


What does s mean in regex?

967


Difference between throw and throws?

1055


What is internal iteration in java se 8?

1140