Answer Posted / subham chaudhary
It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a method and a function in alice?
What is finalize()?
If you are given the name of the function at run time how will you invoke the function?
Explain abstract class in java?
How do you replace all in word?
What is the final access modifier in java?
What are predefined functions?
What is finally in Java?
What are the four pillars of java?
What is an example of a constant variable?
Explain the JDB in depth & command line.
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. (
What is difference between add() and addelement() in vector?
What are drawbacks of singleton class?
Which methods cannot be overridden in java?