Object Orientated Languages

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

Objects

  • An object is a thing in a program that has data (attributes) and functions (methods).

  • Objects represent real-world items and keep their data and behavior together.

2
New cards

Classes

  • A class is a blueprint or template for creating objects.

  • It defines the attributes (data) and methods (functions) that all objects of that class will have.

3
New cards

Encapsulation

  • Encapsulation is the practice of keeping an object’s data (attributes) and methods together in a single unit.

  • It protects the data by controlling access, usually using public or private methods.

  • Helps make programs more secure, modular, and easier to maintain

4
New cards

Abstraction

  • Abstraction means hiding the unnecessary details of an object and showing only what is important.

  • It lets programmers focus on what an object does, not how it does it.

5
New cards

Inheritance

  • Inheritance allows a class to use properties and methods of another class.

  • Helps reuse code and create hierarchies of classes.

6
New cards

Polymorphism

  • Polymorphism allows objects of different classes to be used in the same way through shared methods or interfaces.

  • It helps make programs flexible and extendable.