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
Where local and global variables are stored?
What are keywords in programming?
How many types of literals are there in JAVA?
What is widening and narrowing in java? Discuss with an example.
What is java reflection api?
What are java packages? What's the significance of packages?
What is java beans?
What is the core java?
Which class represents the socket that both the client and server use to communicate with each other?
What is the purpose of the file class in java programming?
How many decimal places is a double?
What are loops in java? What are three types of loops?
Can you override static methods?
How to perform bubble sort in java?
What is data object example?