How do you create a null object?
Answer / Srish Kumar
In Java, you cannot create a null object explicitly. However, you can assign a variable or an instance to null.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is java code slower than native code?
Is zero a positive integer?
Is it compulsory to have atleast one abstract method in abstract class?
Can inner class final?
How can you add and remove nodes in jtree?
What is application tier?
What is variable and its types?
Can we define package statement after import statement in java?
Explain notifyall() method of object class ?
how to call a method in different package?
Can an abstract class have a constructor?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?