Question: You have created a Student class which has a constructor with no parameters. Which of the following statements will construct an object of this class?

You have created a Student class which has a constructor with no parameters. Which of the following statements will construct an object of this class? Student st1; Student st1 = new Student(); Ost1 = create(Student); Ost1.create(object)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
