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();
Explanation:
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();
Explanation:
D