Skip to content

Latest commit

 

History

History
30 lines (30 loc) · 1.31 KB

File metadata and controls

30 lines (30 loc) · 1.31 KB
layout flashcard-topic
title Introduction To Object Oriented Programming
main_card_title Java OOPS
main_card_bg #6586c3
card_bg #9aacd5
cards
title description
Object Oriented Programming
Focuses on objects and their interactions
title description
Class
Defines a blueprint for creating objects that share common properties and behaviors
title description
Object
An instance of a class that contains data and behavior defined by its class
title description
State of Object
Refers to the current data values held by an object
title description
Behaviour of Object
Refers to the actions that can be performed on an object
title description
Encapsulation
The technique of combining data and code into a single unit, protecting the data from being accessed or modified directly from outside the unit
title description
Getters
Methods used to retrieve the values of a class's private fields
title description
Setters
Methods used to set the values of a class's private fields
title description
Abstraction
The technique of hiding complex implementation details and presenting a simplified view to the user
title description
Constructor
A special method that initializes objects when they are created