Object Oriented Programming - Spring 25 - Mid
Object Oriented Programming - Spring 25 - Mid
DaffodilInternational University
Faculty of Science & Information Technology
Departmentof Computer Science and Engineering
Midternm Examination, Spring 2025
Course Code: CSE22 1,Course Title: Object Oriented Programming
Level:2 Term:2 Batch: ALL
Time: 1.5 Hours Marks: 25
1..*
Course Teach
-code: int
-credit: double
1 *
+Course(int, double)
+display( 0: void
Task:
2.. a) Differentiate between a class and an obËcct in Java. Provide suitable 2 CO1
Java code snippets to illustrate your answer.
8 CO2
b) Design a Library Management System where:
The Library contains multiple Books.
Each Book is associated with one Author.
The Library manages memberships for Members, who can borrow
multiple books.
Task:
Task:
Good Luck