GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  Null keyword

Answer: Is null a keyword? if not what is it?


June 06, 2008 13:47:17 #1
 interviewprep9   Member Since: June 2008    Total Comments: 10 

RE: Null keyword
 
Capital N, Null is not a keyword or a reserved word.

All small letters, null is not a keyword either. but, it's a reserved word. you cannot use null as follows:

String null = "a";

null means that a reference is not pointing to any object.
     

 

Back To Question