Program #2 1. Show StudentsADT interface 2. Create a Course class with the following methods: default constructor, overloaded constructor, copy constructor, set Course Name, set Section Number, set Number Of Credits, setLink, getCourseName, get Section Number, getNumberOfCredits, getLink, toString 3. Create a Students class with the following methods: default constructor, overloaded constructor, copy constructor, set Max Number Of Students, add Student, addCourse (pass 2 args), dropCourse (2 args), toString 4. Create an Inner class called Student inside Students class with the following methods: default constructor, overloaded constructor, setID, set Courses, getID, getCourses, addCourse (pass 1 arg), dropCourse (1 arg), toString 5. Create a Students Demo class by adding the students with IDs: 1111, 1234, 2357 Display the following menu: "What action would you like to implement?" 1: Show all Students 2: Add a Course 3: Drop a Course 9: Quit
Program #2 1. Show StudentsADT interface 2. Create a Course class with the following methods: default constructor, overloaded constructor, copy constructor, set Course Name, set Section Number, set Number Of Credits, setLink, getCourseName, get Section Number, getNumberOfCredits, getLink, toString 3. Create a Students class with the following methods: default constructor, overloaded constructor, copy constructor, set Max Number Of Students, add Student, addCourse (pass 2 args), dropCourse (2 args), toString 4. Create an Inner class called Student inside Students class with the following methods: default constructor, overloaded constructor, setID, set Courses, getID, getCourses, addCourse (pass 1 arg), dropCourse (1 arg), toString 5. Create a Students Demo class by adding the students with IDs: 1111, 1234, 2357 Display the following menu: "What action would you like to implement?" 1: Show all Students 2: Add a Course 3: Drop a Course 9: Quit
Chapter11: Advanced Inheritance Concepts
Section: Chapter Questions
Problem 3PE
Related questions
Question
The main question is the entire page labeled
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 7 steps with 9 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT