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
Explain different ways of creating a thread. Which one would you prefer and why?
Is java a super set of javascript?
What is the association?
What are three advantages of using functions?
Does java allow default arguments?
What is the difference between a static and a non-static inner class in java programming?
Difference between method overloading and overriding.
Write java program to reverse string without using api?
Can a class be a super class and a sub-class at the same time? Give example.
Difference between operator overloading and function overloading
Where local and global variables are stored?
Are arrays static in java?
What is object in java?
What is the functionability stubs and skeletons?
What is a substitution variable?