Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Oop Interview Questions · IT Interview Practice
Home
/
#Oop
#Oop
41 questions
How do classes and objects work in Python?
Python
#oop
Middle
›
How do inheritance and super() work?
Python
#oop
Middle
›
What are dunder (magic) methods?
Python
#oop
Middle
›
What are metaclasses and descriptors?
Python
#oop
Senior
›
What are dataclasses and how does __slots__ help?
Python
#oop
Senior
›
What are the four pillars of OOP?
Java
#oop
Junior
›
How do classes, objects and constructors work?
Java
#oop
Junior
›
What is the difference between an interface and an abstract class?
Java
#oop
Middle
›
Why must you override equals() and hashCode() together?
Java
#oop
Middle
›
What are the kinds of nested classes in Java?
Java
#oop
Middle
›
How do classes and objects work in PHP?
PHP
#oop
Junior
›
How do inheritance, abstract classes and interfaces work?
PHP
#oop
Middle
›
What are traits and when do you use them?
PHP
#oop
Middle
›
What are PHP magic methods?
PHP
#oop
Middle
›
How do enums work in PHP 8.1+?
PHP
#oop
Middle
›
What is late static binding (static:: vs self::)?
PHP
#oop
Middle
›
How do classes, constructors and properties work?
C#
#oop
Junior
›
How do inheritance and polymorphism work?
C#
#oop
Middle
›
What are interfaces in C#?
C#
#oop
Middle
›
What does "everything is an object" mean in Ruby?
Ruby
#oop
Junior
›
How do classes and objects work in Ruby?
Ruby
#oop
Junior
›
What do attr_accessor, attr_reader and attr_writer do?
Ruby
#oop
Junior
›
What are modules and mixins?
Ruby
#oop
Middle
›
How do inheritance and method lookup work?
Ruby
#oop
Middle
›
What is duck typing in Ruby?
Ruby
#oop
Middle
›
What is Struct and when do you use it?
Ruby
#oop
Middle
›
What is Object-Oriented Programming?
Object-Oriented Programming
#oop
Junior
›
What are the four pillars of OOP?
Object-Oriented Programming
#oop
Junior
›
What is the difference between a class and an object?
Object-Oriented Programming
#oop
Junior
›
What is encapsulation?
Object-Oriented Programming
#oop
Junior
›
What is abstraction in OOP?
Object-Oriented Programming
#oop
Junior
›
What is inheritance?
Object-Oriented Programming
#oop
Junior
›
What is polymorphism?
Object-Oriented Programming
#oop
Junior
›
What are constructors and destructors?
Object-Oriented Programming
#oop
Junior
›
What are access modifiers (public, private, protected)?
Object-Oriented Programming
#oop
Junior
›
What is the difference between method overloading and overriding?
Object-Oriented Programming
#oop
Junior
›
What is the difference between an interface and an abstract class?
Object-Oriented Programming
#oop
Middle
›
What is the difference between static and instance members?
Object-Oriented Programming
#oop
Middle
›
What are generics (parametric polymorphism)?
Object-Oriented Programming
#oop
Middle
›
When should you use a factory method instead of a constructor?
Object-Oriented Programming
#design
Middle
›
How does OOP compare to functional programming?
Object-Oriented Programming
#oop
Senior
›