Question: Please write the answer, do not put pictures Question: Write in java the following three classes: Student, Section, and TestClass. Student StudentId : int StudentName


Please write the answer, do not put pictures
Question: Write in java the following three classes: Student, Section, and TestClass. Student StudentId : int StudentName : String StudentAge : int + Student + Student(stuld:int, stuName:String, age:int) + getter / setter() Section ClassId : String - ArrayStu: Student il + Section + addStudent(stu: Student):void + searchStudent(stuid:id):void + delete Student(Stuid:id):void + showStudent() TestClass 1. Add Student 2. Display Student Details 3. Search Student 4. Delete Student 5. Exit Notes: Index Method/Operation 1 addStudent Description This method should add the student details by checking if the section is full or not. 2 displayStudent This method should display the details of student 3 search Student This method should search in section for a particular id and display the student details. 4 delete Student This method should delete the student from the section having id ID. 5 Exit exit from the loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
