You are on page 1of 1

Object Oriented Programming

Lab 03
Topic
Objective
Outcome

Constructors, Getters, Setters, JAVA Packages


To get the basic concept of Constructors, Getters, Setters and Access Specifiers
Making attributes private for Encapsulation
Working with JAVA Packages (Encapsulation)
After this lab, the students will be able to make Packages in JAVA and will be able to work with
attributes and methods having different access specifiers.

Tasks:
Note:
1. Draw the UML Diagram for each Task
2. Create a different Package for each Task
Task 1:

Task 2:

Task 3:

Task 4:

Page 1 of 1

You might also like