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 the use of :: in java?
What is polymorphism and what are the types of it?
What is string in java with example?
What is boolean flag in java?
What is a boolean field?
What are the rules for naming an array?
What are the important features of Java 10 release?
Why parsing is done?
What is the use of object and class classes?
Why does java have two ways to create child threads?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is a functional interface?
How can we pass argument to a function by reference instead of pass by value?
Realized?
Name container classes in java programming?