Answer Posted / seema yadav
The reference variable is useful in OOP because it permits the manipulation of objects by reference, and eliminates the copying of object parameters back and forth. It is also important to note that reference can be created not only for built_in data types but also for user defined data types such as structures and classes
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the difference between string, string builder, and string buffer in java?
How can you make a class serializable in java?
What is the size of a string in java?
What is procedure writing?
How do you differentiate abstract class from interface?
What is an 8 bit word?
Difference between start() and run() method of thread class?
What is meant by method overriding?
What is difference between Heap and Stack Memory?
What is an escape character in java?
Why spring singleton is not thread safe?
How do you sort in descending order in java using collections sort?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
Is an empty arraylist null?
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. (