Question: in Java please Write a no-parameter constructor for the following class. The constructor should initialize the instance variables as follows: All Strings should be initialized

Write a "no-parameter" constructor for the following class. The constructor should initialize the instance variables as follows: All Strings should be initialized to "default". All numbers should be initialized to -13. Student studentID: String - studentName: String - studentAge: int - studentGPA: double studentMajor: String Constructors and methods would normally appear here Omitting them for exam Write a "full-parameter" constructor for the following class. The constructor should take as parameters initial values for all the instance variables and initialize the instance variables. Student studentID: String studentName: String -studentAge: int studentGPA: double - studentMajor: String Constructors and methods would normally appear here Omitting them for exam
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
