Write a Java class named 'Course'It should have following memberscourseIdcourseNamemaxCapacityprofessorIdcreditsint[] studentIds Function: registerStudent(int studentId) There should be
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Java class named 'Course'It should have following
memberscourseIdcourseNamemaxCapacityprofessorIdcreditsint[] studentIds
Function: registerStudent(int studentId)
There should be 3 ways to create Course Object (Hint : Use Constructor)courseIdcourseId, professorIdcourseId, professorId, credits
Class should provide getters/setters for all membersregisterStudent method should store all ids in studentIds array.
Related Book For
Introduction to Probability
ISBN: 978-0716771098
1st edition
Authors: Mark Daniel Ward, Ellen Gundlach
Posted Date: