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

Questions by krishnaprasad587   answers by krishnaprasad587

Showing Answers 1 - 1 of 1 Answers

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.

  Was this answer useful?  Yes

Give your answer:

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


Related Answered Questions


Related Open Questions