Question: Create a class representing a student. Include characteristics such as student number, first and last name, classification, and major. Write at least two constructors. Include
Create a class representing a student. Include characteristics such as student number, first and last name, classification, and major. Write at least two constructors. Include properties for each of the data items.
Include an instance method that returns a full name (with a space between first and last name). Create a second class that instantiates the first class with information about yourself. In the second class, create a class (static) method that displays name and major using the instantiated object.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
