Professional Documents
Culture Documents
Assignment: Sept 2010 Semester
Assignment: Sept 2010 Semester
CBOP3203
OBJECT-ORIENTED PROGRAMMING
INSTRUCTIONS:
Answer the question below
Marks will be deducted (or even can be given 0) if your assignment
answer contains any plagiarism or copied directly from your coursemate
This assignment should be completed individually and must be
submitted online through myVLE
Deadline for the submision is stated in myVLE
QUESTION /SOALAN 1
i. Write the complete program for the classes Student and Course
above (Assume that the fees are $100 per credit hour, student can
only register a maximum of 5 courses and minimum of 1 course per
semester, all the attributes should be declared as private).
ii. Test the above class program in a new class which has the
main()method (your main() program should be interactive)