Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

OOP Practice Questions

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

What are the important pillars of OOPs ? Explain it.

Autor: Lock Huynh



Respuesta:

Encapsulation: Bundling data and methods that operate on the data within a class, hiding the internal state of objects. Abstraction: Hiding complex implementation details and showing only the essential features of an object. Inheritance: Allowing a class to inherit properties and methods from another class, promoting code reuse. Polymorphism: Enabling objects to be treated as instances of their parent class, allowing a single function to behave differently based on the object type.


0 / 5  (0 calificaciones)

1 answer(s) in total