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 change the scope of the overridden method in the subclass?
What is the synonym of procedure?
What is the equal sign?
Is the empty set a singleton?
Can a class have a static inner class?
Why do we use predicate in java?
Difference between a process and a program?
What is the main advantage of passing argument by reference?
There are 2 classes, 1 LandAnimal and another WaterAnimal. There is another class Animal which wants to have the properties of both LandAnimal and WaterAnimal. How will you design this situation?
Can a final method be overloaded?
what is finalmethod & final variable with example?
If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great