Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started