How can we find size of the object ?
Answer Posted / sitaram
we don't have any method for to identify the size of object
in java.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
why java uses class level type casting ?
What is tostring () method?
Is java hashset ordered?
What do you mean by chromounits in java8?
How do you do math powers in java?
How can you make a class serializable in java?
What is singleton class in java and how can we make a class singleton?
What is default locale java?
Tell me about your ability to work under pressure
What is the reason behind using constructors and destructors?
Name few java.lang classes introduced with java 8 ?
What is the difference between interface & abstract class?
What is the difference between a break statement and a continue statement?
What is the purpose of the system class in java programming?