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

Why singleton class is used in java?

1 Answers  


There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.

3 Answers  


What is package protected in java?

1 Answers  


How to reduce flicking in animation?

3 Answers   TCS,


Who is founder of java?

1 Answers  


What is the difference between class & object?

1 Answers  


What are the concepts of 'OOPS'?

1 Answers   Atos Origin,


What is the difference between a field variable and a local variable?

1 Answers  


Can we assign the reference to this variable?

1 Answers  


What is tree in java?

1 Answers  


What is difference between compatible and incompatible changes in serialization?

1 Answers   Synechron,


What is the class in java?

1 Answers  


Categories