Is 'null' a keyword?

Answers were Sorted based on User's Feedback



Is 'null' a keyword?..

Answer / raseek

No.It is a Reserved word.We should not use this as an
identifier.

Is This Answer Correct ?    7 Yes 0 No

Is 'null' a keyword?..

Answer / ranganathkini

No "null" is not a keyword of the Java Programming Language,
it is a reserved keyword similar to "true" and "false"

Is This Answer Correct ?    5 Yes 1 No

Is 'null' a keyword?..

Answer / aruna

"null" is a reserved keyword similar to "true" and "false"

Is This Answer Correct ?    3 Yes 0 No

Is 'null' a keyword?..

Answer / george

"null" is a reserved keyword similar to "true" and "false"
we can use null to initialize string..

Is This Answer Correct ?    2 Yes 0 No

Is 'null' a keyword?..

Answer / ravikiran(aptech mumbai)

no i's a literal

Is This Answer Correct ?    4 Yes 3 No

Is 'null' a keyword?..

Answer / ejp

RE answer #1, how can it be not a keyword and a reserved
keyword?

Do try to make sense.

Is This Answer Correct ?    1 Yes 0 No

Is 'null' a keyword?..

Answer / yogesh mudgil

In case of Java,null is a literal.null is a special literal
which can be cast to any reference type but not to any
primitive type.It is used in Java to represent a void
reference i.e. a pointer to nothing.

Is This Answer Correct ?    0 Yes 0 No

Is 'null' a keyword?..

Answer / sudhakar

"Null" is not either not a key word nor a reserved word

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What are the supported platforms by java programming language?

0 Answers  


What are generic methods?

0 Answers  


What is difference between overloading and overriding?

2 Answers   Accenture,


What is the private method modifier?

0 Answers  


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

0 Answers  


Define how objects are stored in java?

0 Answers  


printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ?

1 Answers   TCS,


Why do we use public static with the main function in Java?

13 Answers   College School Exams Tests, Infosys,


What are non-access modifiers?

2 Answers   Cognizant,


What is the preferred size of a component in java programming?

0 Answers  


what modifiers are used with top-level class?

2 Answers  


How to re-get an object that is collected by garbage collector?

1 Answers  


Categories