how can u create the object with out new operator
Answers were Sorted based on User's Feedback
Answer / md. abid hossain
In 3 ways..
1)Using a Static Factory Method
ABC.getInstance();
2)Using newInstance() method...
class A=(A)Class.forName("A").newInstance();
3)Using clone() method.
| Is This Answer Correct ? | 11 Yes | 2 No |
Describe how to implement singleton design pattern in struts.
what is ennumaration?
What is composition in java?
What does flagged out mean?
What is json parser in java?
strings in java are objects.why?
Explain the importance of thread scheduler in java?
What is nested top-level class?
What is difference between fail-fast and fail-safe?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is an image buffer?
Tell us something about set interface.