Is 'null' a keyword?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1441


What is final method in java?

520


Why Java doesn’t support multiple inheritance?

614


What are singleton services?

469


What is the differences between c++ and java? Explain

560






What is flush () in java?

535


How arrays are stored in memory in java?

489


Is java a prime method?

525


Why can't you declare a class as protected?

581


Explain how can you debug the Java code?

568


Can a class extend more than one class?

586


What are the three types of design patterns?

489


How do you declare a string variable?

488


What is abstract class? Explain

573


Explain the importance of throws keyword in java?

545