Question: Code a non default three-parameter constructor with parameters for unit code , credit hour and offer faculty . Instance variables that are not taking parameter
Code a non default three-parameter constructor with parameters for unit code, credit hour and offer faculty. Instance variables that are not taking parameter must be auto-initiliased with sensible default value. The constructor must utilise appropriate naming conventions and they protect the integrity of the class's instance variables.
Step by Step Solution
3.56 Rating (160 Votes )
There are 3 Steps involved in it
public class Course private String unitCode private int creditHours private String offerFaculty pri... View full answer
Get step-by-step solutions from verified subject matter experts
