How is object created in java?

Answer Posted / akshay

Object is created following ways
1.Using NEW operator
2.Class.newinstance()

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is navigable map in java?

516


Are arrays primitive data types?

634


What is regex used for?

542


What are different types of references?

526


What is the advantage of functional interface in java 8?

519






What is instance means in java?

562


Can we sort arraylist in java?

557


What is remote method invocation (rmi)?

611


Can we return null in java?

638


Can we declare register variable as global?

505


What is the indent key?

587


What technique is carried out to find out if a particular string is empty?

567


Can we override constructors?

541


What is singleton class in java and how can we make a class singleton?

568


Does list maintain insertion order java?

535