Hello everyone,
I have two classes Student and Courses. Class Students creates an object of class Courses since each Student will take some Courses.
How can I call an object of class Courses in class Students such that each Student class will have an instance of class Courses which will take care of setting , getting and printing course details for each students.
Also, how can I use inputs from console to initialize Students created. i.e., prompt user for input and use the set methods of the objects to take the console inputs to initialize the Student created.
Thank you in anticipation of your response.
Crestaldin