JAVA
JAVA
METHODS
METHOD OVERLOADING
➢ When two or more methods in the same class have the same name but different
parameters, it’s called overloading.
METHOD OVERRIDING
➢ Method overriding occurs when a subclass (child class) has the same method as
the parent class.
OOP
➢ Object-oriented programming is about creating objects that contain both data and
methods.
CLASS
ATTRIBUTE
CONSTRUCTORS
MODIFIERS
➢ Set the access level for classes, attributes, methods and constructors.
ENCAPSULATION
INHERITANCE
➢ Creating new classes based on existing ones. A class that inherits from another
class can reuse the methods.
POLYMORPHISM
➢ "Many forms", and it occurs when we have many classes that are related to each
other by inheritance.
ABSTRACTION
➢ Hiding certain details and showing only essential information to the user.
INTERFACE
COLLECTION
COLLECTIONS
COLLECTION INTERFACE
➢ It defines the most common methods which is applicable for any collection object.
COLLECTION FRAMEWORKS
➢ It defines several classes and interfaces which can be used a group of individuals
objects as a single entity
List
ARRAY LIST
➢ The ArrayList class is a resizable array, which can be found in the java.util
package.
LINKED LIST
➢ The LinkedList class is a collection which can contain many objects of the same
type, just like the ArrayList.
ITERATOR
ENUMERATION
➢ We can get only read access and can’t perform remove operation.
List iterator
SET
SORTED SET
HASH SET
OUEUE
MAP
SORTED MAP
Random Access
HASH MAP