What is a Null object?
Answer / subham chaudhary
It is an object of some class whose purpose is to indicate that a real object of that class does not exist. One common use for a null object is a return value from a member function that is supposed to return an object with some specified properties but cannot find such an object.
Is This Answer Correct ? | 0 Yes | 0 No |
Is there any tag in htm to upload and download files?
what is the need to set path in java? how many ways to set path in java? Explain breif?
What do you mean by boolean?
What is the function of compareto in java?
What is generic type?
Is stringwriter thread safe?
Explain about assignment statement?
ublic class Java_Coding_Samples { public static void JavaHungr(NumberFormatException ae){ System.out.println("integer"); } public static void JavaHungry(Exception e){ System.out.println("string"); } public static void JavaHungry(ArithmeticException ae){ System.out.println("object"); } public static void main(String[] args) { JavaHungry(null); }
Why method overriding is used?
Difference between an argument and a parameter?
10 Answers Accounting, HCL, IBM, Quinnox,
How is Garbage collection done in Java?
What does a za z0 9 mean?