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
Difference between overriding and overloading in java?
What is floor math?
What is default constructors?
How is a structure different from array ?
what is encapsulation in java? Explain
Can a class have an interface?
Explain how to force the garbage collection in java.
What is a conditional equation?
Explain the pointers in Java?
What are the differences between Java 1.0 and Java 2.0?
What is advantage of java?
If you do not want your class to be inherited by any other class. What would you do?
What is better - 'bit-shift a value' or 'multiply by 2'?
What modifiers may be used with a top-level class?
Define an applet in java?