How can we find size of the object ?
Answer Posted / suvarna
getObjectSize(Object objectToSize)
Returns an implementation-specific approximation
of the amount of storage consumed by the specified object.
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is instance synchronization?
What will be the initial value of an object reference which is defined as an instance variable?
What is difference between stringbuffer and string?
What is a null point?
What is a prefix function.write down a code to compute prefix function.
Differentiate between nested and inner class in java.
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Can we convert integer to string in java?
How to do a true java ping from windows?
Can we override private methods?
What are the main differences between notify and notifyAll in Java?
Why is java so popular?
Difference between ‘>>’ and ‘>>>’ operators in java?
How do you clear an arraylist in java?
Why null value is used in string?