Question: Task 1: As a junior programmer, your supervisor has asked you to help in creating a program for a school to help the administration department.

 Task 1: As a junior programmer, your supervisor has asked you

Task 1: As a junior programmer, your supervisor has asked you to help in creating a program for a school to help the administration department. The supervisor would like to check your Java-OOP skills. For this the supervisor has asked you to do the following: - Create a class called student In the student class create 5 instance variables to store student details such as name, age, grade, average term score, has disability or not. Choose appropriate access specifiers, data types and variable names Create a method that is accessible from only inside the class that displays all of the instance variables values. : Add a comment to your class defining the term data encapsulation : Create a mutator method 'setGrade' that will update the value of grade instance variable. Create an accessor 'getGrade' to return the value of the grade variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!