C and C++ has constructors and distructors, why does Java
does not have distructors?
Because java has automatic garbage collection feature and java
does not let you illegally or accidentally release memory
occupied by an object.
| Is This Answer Correct ? | 7 Yes | 1 No |
Is a string literal?
Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
How do you achieve singleton?
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 Answers DNS, IPSR Solutions,
What is the benefit of inner / nested classes ?
explain Anonynous inner class?
why to use transient variables when static variables can be used for Serialization
Can we declare array without size in java?
What is meant by polymorphism?
Write a code to create a trigger to call a stored procedure
How do you reverse a list?
How to handle a web browser resize operation?