OopsWithJavaAssignment
OopsWithJavaAssignment
ASSIGNMENT 1.
3, CO1 attribute roll_number, name branch and email. Write all argument 5
7
constructor for class Student and create two object with this
constructor.
Explain about access modifiers with example.
2, CO1 5
8
Why encapsulation is called, How to achieve encapsulation in Java?
3, CO1 5
.9 Give an example.
What is inheritance & types of inheritance, why we use interface in
3, CO1 5
10 multiple inheritance give suitable example.
Notes: 1. Assignment must be written in notebook of A4 size and contains minimum 50 pages.
2. Strictly follow deadline for submission.