Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want a solution to this please 1. Create a class called Course which represent all Courses, having the following attributes: - Course ID -
I want a solution to this please
1. Create a class called Course which represent all Courses, having the following attributes: - Course ID - Course Name - Course Capacity - Professor - Description - A list of students These Attributes should be private. 2. Create for each attribute setters to update the attribute and getters to get the value of attributes. 3. Create input() method for entering the information of the course. 4. Create show0 method for displaying the information of the course. 5. Create a variable to track how many courses have been instantiated. 6. Create 10 courses the information of each course should be entered by the user. Give the complete code according to the 6 requirements above
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