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
What are the advantages of packages in java?
What is the purpose of the runtime class in java programming?
How do you escape json?
Define how destructors are defined in java?
What is the reflection?
What are the advantages of autoboxing?
What is the meaning of flag day?
How do you check if an arraylist is not empty?
Which method returns the length of a string?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is the vector class in java programming?
What is charat java?
What is the difference between object oriented programming language and object based programming language?
Can we have multiple classes in single file ?
What is the main purpose of serialization in java?