Professional Documents
Culture Documents
Types of packages :-
1. Built-in Packages
2. User-defined packages
Encapsulation
Encapsulation is mechanism that binds the data and functions together. This
mechanism keeps both data and functions safe from outside interference and
misuse.
LITERATURE REVIEW
1 2
Paper 2
Structural Operational Semantics of Packages in Java
The work in this paper is focused on JAVA, Structural operational,
Semantics, Packages, Abstraction, Environment etc. In this paper
the structural operational semantics of packages in Mini Java is
defined.
Points to be discussed in GD
1. Packages in java
I. Types of packages in java
II. Need and uses of packages in java
III. Advantages and disadvantages of packages
2. Access specifiers in java
I. Definition of access specifiers
II. Types of access specifiers in java
III. Benefits of access specifiers in java
3. Encapsulation
I. Definition of encapsulation
II. How to achieve encapsulation java
III. Benefits of encapsulation in java
References
https://www.geeksforgeeks.org/encapsulation-in-ja
va/
https://www.tutorialspoint.com/java/java_encapsul
ation
.
https://www.javatpoint.com/package
https://www.geeksforgeeks.org/introduction-to-jav
a
/
https://
www.researchgate.net/publication/274572185_Co
mparative_Studies_of_Six_Programming_Langua
Topic 2: Arraylist vs Vector
1. ArrayList:
2. Vector:
• Paper 2
I. Introduction to arraylist
II. Arraylist class declaration
III. Constructors of ArrayList
IV. Methods of ArrayList
V. User-defined class objects in Java ArrayList
VI. How to sort arraylist ?
2] Vectors:-