Object Oriented Programming
Object-oriented programming (OOP) is a programming paradigm that organizes code around objects — bundles of data (attributes) and behavior (methods) — using concepts like classes, inheritance, encapsulation, and polymorphism to structure software.
214 resources across 2 libraries
Glossary Terms(9)
Visual Basic .NET
Visual Basic .NET (VB.NET) is an object-oriented programming language from Microsoft, built on the .NET runtime, designed as the successor to classic Visual Ba…
Delphi
Delphi is an object-oriented programming language and integrated development environment, based on Object Pascal, originally released by Borland in 1995 for ra…
Common Lisp
Common Lisp is a general-purpose, multi-paradigm dialect of Lisp standardized in the 1980s, notable for its powerful macro system, dynamic development style, a…
Design Patterns
Design patterns are general, reusable solutions to commonly occurring problems in software design, providing a shared vocabulary and proven structural template…
SOLID Principles
SOLID is an acronym for five object-oriented design principles — Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency…
Domain-Driven Design (DDD)
Domain-Driven Design (DDD) is a software design approach, introduced by Eric Evans, that structures complex software around a deep model of the business domain…
Functional Programming
Functional programming is a programming paradigm that treats computation as the evaluation of pure functions, emphasizing immutability, avoidance of side effec…
Object-Oriented Programming (OOP)
Object-oriented programming (OOP) is a programming paradigm that organizes code around objects — bundles of data (attributes) and behavior (methods) — using co…
Procedural Programming
Procedural programming is a programming paradigm that structures code as a sequence of step-by-step instructions organized into procedures (or functions), whic…
Interview Questions(205)
What are the Four Pillars of OOP?
The four pillars of object-oriented programming are Encapsulation, Abstraction, Inheritance, and Polymorphism — the principles that structure code around objec…
Difference Between Interface and Abstract Class
An interface defines a contract of methods a class must implement with no state, while an abstract class can provide partial implementation and state and serve…
Composition vs Inheritance in OOP
Inheritance models an "is-a" relationship where a class derives from a parent, while composition models a "has-a" relationship where a class is built from othe…
What are SOLID Principles?
SOLID is five object-oriented design principles — Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion — th…
What is Inheritance in OOP?
Inheritance is the object-oriented mechanism by which a class (the subclass) acquires the fields and methods of another class (the superclass), enabling code r…
Method Overloading vs Overriding
Method overloading is defining multiple methods with the same name but different parameter lists within a class, resolved at compile time, while method overrid…
What is Encapsulation in OOP?
Encapsulation is the object-oriented principle of bundling an object’s data with the methods that operate on it and restricting direct access to that data from…
What is a Constructor in OOP?
A constructor is a special method invoked automatically when an object is created that initializes the object’s state, sharing the class’s name and having no r…
What is Abstraction in OOP?
Abstraction is the object-oriented principle of exposing only the essential features and behavior of an object while hiding the underlying implementation compl…
What is a Design Pattern?
A design pattern is a reusable, named solution to a recurring software design problem, expressed as a template of collaborating classes and objects rather than…
What is the Singleton Pattern?
The Singleton pattern restricts a class to exactly one instance and provides a single global access point to that instance, typically via a static method.
What is the Factory Pattern?
The Factory pattern delegates object creation to a dedicated method or class instead of calling a constructor directly, so callers depend on an interface rathe…
What is Dependency Injection?
Dependency injection is a technique where an object receives its dependencies from an external source rather than creating them itself, typically via construct…
Static vs Instance Methods: What is the Difference?
A static method belongs to the class itself and is called without any object instance, while an instance method belongs to a specific object and operates on th…
What is the Builder Pattern?
The Builder pattern is a creational design pattern that separates the step-by-step construction of a complex object from its final representation, letting the…
What is the Prototype Pattern?
The Prototype pattern is a creational design pattern that creates new objects by cloning an existing, fully configured instance rather than constructing one fr…
What is the Adapter Pattern?
The Adapter pattern is a structural design pattern that converts the interface of an existing class into another interface a client expects, letting otherwise…
What is the Bridge Pattern?
The Bridge pattern is a structural design pattern that decouples an abstraction from its implementation by putting them in two separate class hierarchies conne…
What is the Composite Pattern?
The Composite pattern is a structural design pattern that composes objects into tree structures to represent part-whole hierarchies, letting clients treat indi…
What is the Decorator Pattern?
The Decorator pattern attaches additional responsibilities to an object dynamically by wrapping it in one or more decorator objects that share the same interfa…
What is the Facade Pattern?
The Facade pattern provides a single, simplified interface that hides the complexity of a larger subsystem made of many interacting classes, so clients can acc…
What is the Flyweight Pattern?
The Flyweight pattern minimizes memory usage by sharing immutable, common state across many similar objects instead of storing that state redundantly in each i…
What is the Proxy Pattern?
The Proxy pattern provides a surrogate object that implements the same interface as a real subject and controls access to it, allowing extra logic such as lazy…
What is the Chain of Responsibility Pattern?
The Chain of Responsibility pattern passes a request along a chain of handler objects until one of them decides to process it, decoupling the sender of a reque…
Showing 24 of 205.