GeekInterview.com
Series: Subject: Topic:
Question: 43 of 1118

Sizeofthe Variable

how to find the size of the (datatype) variable in java?

in c we use sizeof() operator for for finding size of data type
Asked by: krishnaprasad587 | Member Since May-2011 | Asked on: Jun 7th, 2011

View all questions by krishnaprasad587   View all answers by krishnaprasad587

Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Mar 27th, 2012

View all answers by Sandhya.Kishan

There is no any particular function in java to find the size of the variable,because java removes the need for an application to know about how much of space needs to be reserved for a primitive value, an object or an array with a given number of elements.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.