tag:blogger.com,1999:blog-1415821286444392495.post6377540235856325391..comments2023-10-20T01:34:17.530-07:00Comments on VC++ - Visual C++ - Microsoft Visual C++ Interview Questions And Answers: What is a Null object?Sumedhhttp://www.blogger.com/profile/11533458660230230361noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1415821286444392495.post-46402366352647934902012-02-29T03:11:59.540-08:002012-02-29T03:11:59.540-08:00Contrary to what it may sound like, a null object ...Contrary to what it may sound like, a null object is not simply a variable such as Object myVar = null – it’s an actual object instance, but it represents an “empty” value.<br /><br />What an empty or null value means depends much on the context. For example, if you think of a website which allows users to register accounts, an empty value could be an anonymous user without an account. In a case like this, you could have a null user object, which represents a user who has not logged in.Anonymousnoreply@blogger.com