Junior
Name the principles of object-oriented programming (OOP) that you know.
sobes.tech AI
Answer from AI
Encapsulation: hiding the internal implementation of an object from the outside world, accessing data through methods.
Inheritance: creating a new class based on an existing one, inheriting its properties and behavior.
Polymorphism: the ability to use objects of different classes with a common interface.
Abstraction: highlighting the essential characteristics of an object and ignoring non-essential details.