Campus interview zone
Would you like to react to this message? Create an account in a few clicks or log in to continue.

What is a Null object?

Go down

What is a Null object? Empty What is a Null object?

Post  Admin Sun Jan 31, 2010 5:33 pm

Answer:
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.

Admin
Admin

Posts : 71
Join date : 2010-01-21

http://campus-interview.co.cc

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum