Assignment 2 - SWP
Assignment 2 - SWP
01. Explain following OOP concepts with java code examples (12 Marks)
i. Abstraction ii. Encapsulation
a) Displays a different message depending on the age given. Here are the possible responses (15 Marks)
• At the begin student must select the course. (Courses should display through the list)
• For student’s course registration, student Name should be entered.
• Each student must do two assignments (give facilities to enter assignment marks)
• Average assignments marks should greater than 60% (It should be display)
• Also, total attendance should be greater than 80% (give facilities to enter attendance)
• Each student completed her pre requirements, he can sit for the final examination.
• Final exam should pass with more than 50% marks.
• A student can collect his certificate after passed the final exam.