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 is java virtual machine and how it is considered in context of java’s platform independent feature?
What is a flag value?
What about instanceof operator in java?
Why do we use return statement?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What access modifiers can be used for methods?
Can we define private and protected modifiers for variables in interfaces?
Can we restart a dead thread in java?
What is variable explain with example?
How do you declare a destructor in java?
What is super?
what is encapsulation in java? Explain
How will you initialize an Applet?
What is functional interface in javatpoint?
explain copyonwritearraylist and when do we use copyonwritearraylist?