Starting from:

$25

CSCI1310- Quiz 7 Solved

#7

Create a class called Cohort which has a constructor that takes as parameters the values to initialize the below variables:

      students # a list of student names       name # a string for the name of the Cohort

The class should have the below method:

      addStudent

This method adds a new student to the list students.

More products