Is 'null' a keyword?
Answers were Sorted based on User's Feedback
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 |
Answer / aruna
"null" is a reserved keyword similar to "true" and "false"
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
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 |
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 |
Answer / sudhakar
"Null" is not either not a key word nor a reserved word
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we declare the static variables and methods in an abstract class?
What is a class variable?
What modifiers are used with an inner class which is a member of an outerclass?
What is the benefit of using enum to declare a constant?
How many classes can any class inherit java?
Will minecraft java be discontinued?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
how can we synchronize Hash map?
What is immutability in java?
whats the life cycle of jsp
Can we override compareto method?
why should we get the following error ? Exception in main method NoClassDefFoundError:classname could anyone give the detail clarification on how java compiler can look for .class file?