Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 loopStep 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