Write getter and setter methods for coursetitle and inet


Problem: Enterprise Programming

Create a Course class. At the top of the source code, add lines of comment to show your name and date of writing the code. Then, make it part of the your_lastname.your_firstname package using a proper package statement. This class should contain four instance variables as follows:

Variable Data Type Use
courseNum String Course number
courseTitle String Course title
instructor String Instructor name
inet boolean Whether it's online or not

• Write getter and setter methods for courseTitle and inet. For variables without these methods NetBeans may display a warning message; disregard the message. When naming the getter method for inet, follow the customary naming convention for boolean variables.

• Write a full initialization constructor that requires four parameters - one for each of the four instance variables - and assigns each parameter to its respective instance variable.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write getter and setter methods for coursetitle and inet
Reference No:- TGS03319653

Expected delivery within 24 Hours