How is object created in java?

Answer Posted / anu sownthariya rajakumari,isw

1.new
2.newinstance()
3.clone()
4.class.forName()
5.deserialization

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are strings in physics?

539


Why we override equals() method?

559


What are heterogeneous objects?

564


Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

617


How do you get length in java?

553






What is split return?

488


Can we have return statement in finally clause? What will happen?

510


what is meant by HQL?

639


What is the difference between abstraction and encapsulation?

559


What is the use of keywords in java?

551


What is the most important feature of java? What is an interface?

510


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

583


What is a singleton class in Java?

501


Is singleton class thread safe?

531


What is multi level inheritance in java?

554