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


Please Help Members By Posting Answers For Below Questions

Why are the methods of the math class static?

801


How many arguments can a method have java?

797


what is session in java?

980


Why java is used everywhere?

755


Can you declare the main method as final?

722


What is integer valueof?

858


What is a type parameter in java?

754


What is local declaration?

701


Can we make a constructor final?

767


Explain static nested classes ?

809


Can you change array size in java?

739


what is predefined function in java?

754


Why we override equals() method?

775


Do extraneous variables affect validity?

700


What are the 6 mandatory procedures for iso 9001?

734