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
What does next mean in java?
Why does java not support operator overloading?
Is it possible to write a regular expression to check if string is a number?
Can arraylist hold different types java?
What do you mean by local class?
Do you know why doesn't the java library use a randomized version of quicksort?
what is collatration?
What is the meaning of immutable regarding string?
Does list allow duplicates in java?
How do you sort an array in java?
Can we override static methods in java?
How does hashset works in java?
Explain how to force the garbage collection in java.
do I need to use synchronized on setvalue(int)? : Java thread
What are heterogeneous objects?