Answer Posted / ishaque
There are many ways to create an object in java. They are:
By new keyword
By newInstance() method
By clone() method
By factory method etc.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
How can you say java is object oriented?
What are the differences between Java 1.0 and Java 2.0?
What is arraylist e?
What is a parameter in matrices?
What is the new line character?
What is a variable analysis?
Does hashset allow duplicates in java?
What is class and its types?
What is a Presistent Object?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
How to create a fecelet view?
What is java util function?
Are private methods final?
Why declare Main() inside the class in java ?
What is static block?