Answer Posted / javamasque
Object is created in four different ways
1. Using new operator
2. Class.forName(..)
3. Cloning
4. Serializing and De-serializing
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do you compare objects in java?
Explain serialization and deserialization in java?
Why do we create threads in java?
Why is stringbuffer not immutable?
In case of inheritance what is the execution order of constructor and destructor?
Is final static java?
What is finally and finalize in java?
What is the difference between compare and compareto in java?
How will you compute size of a structure?
a thread is runnable, how does that work? : Java thread
Explain the difference between abstract class and interface in java?
Explain exception chaining in java?
How we create object in copy constructor?
what is synchronization and why is it important? : Java thread
What is the meaning of flag day?