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
Can you give names of Container classes?
How do you declare an array that will hold more than 64KB of data?
What are local variables?
Can bool be null?
Why is inheritance used in java?
Can a class have an interface?
How do you change an int to a string?
How do you know if a value is nan?
What is the history of java?
When should we create our own custom exception classes?
What are the topics in advance java?
Explain the importance of throwable class and its methods?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Write a code to create a trigger to call a stored procedure
What is a heavyweight component?