next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
Login
1
What is Inheritance? What is the 'IS-A' relationship?
Intermediate
2
What are the different types of Inheritance? (Single, Multilevel, Hierarchical)
Intermediate
3
Why does Java/C# not support Multiple Inheritance of classes? (The Diamond Problem)
Intermediate
4
How do you solve the Diamond Problem? (Interfaces/Mixins)
Intermediate
5
What is the difference between 'IS-A' (Inheritance) and 'HAS-A' (Composition)?
Intermediate
6
Why is Composition often preferred over Inheritance? (Fragile Base Class problem)
Intermediate
7
Can a subclass access the private members of its parent class?
Intermediate
8
What is the purpose of the base or super keyword?
Intermediate
9
Can you prevent a class from being inherited? How? (Sealed/Final)
Intermediate
10
What happens if a Base class constructor throws an exception? Does the Derived object get created?
Intermediate
11
Can you change the access modifier of a base class method in a derived class? (Hiding vs Overriding)
Intermediate
12
What is the difference between 'Overriding' and 'Hiding/Method Shadowing'?
Intermediate
All Topics
1
Foundations
0/2 topics · 0%
Basics
Inheritance and Composition
2
Linear structures
0/4 topics · 0%
Polymorphism
Interfaces and Abstract Classes
Access Modifiers and Scope
Advanced Concepts and Design Principles
3
Memory and Object Lifecycle
0/2 topics · 0%
Trees
Real-World Design and Architecture Scenarios
Share
this topic
Share via WhatsApp, X, Facebook, LinkedIn or copy link. Open Graph preview enabled.