Which line of code initializes a student instance?

View the exhibit: Which line of code initializes a student instance?

View the exhibit: Which line of code initializes a student instance?

A.
Student student1 = Student();

B.
Student student1;

C.
Student student1 = Student.new();

D.
Student student1 = new Student();



Leave a Reply 0

Your email address will not be published. Required fields are marked *