next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
next
Round
Technologies
Coding Problems
Bookmarks
Learning Paths
1
What is the difference between 'Overriding' and 'Hiding/Method Shadowing'?
Intermediate
2
Why does Java/C# not support Multiple Inheritance of classes? (The Diamond Problem)
Intermediate
3
What is the difference between 'IS-A' (Inheritance) and 'HAS-A' (Composition)?
Intermediate
4
How do you solve the Diamond Problem? (Interfaces/Mixins)
Intermediate
5
What is the purpose of the base or super keyword?
Intermediate
6
Why is Composition often preferred over Inheritance? (Fragile Base Class problem)
Intermediate
7
What is Inheritance? What is the 'IS-A' relationship?
Intermediate
8
Can you prevent a class from being inherited? How? (Sealed/Final)
Beginner
9
What are the different types of Inheritance? (Single, Multilevel, Hierarchical)
Intermediate
10
Can you change the access modifier of a base class method in a derived class? (Hiding vs Overriding)
Intermediate
11
Can a subclass access the private members of its parent class?
Beginner
12
What happens if a Base class constructor throws an exception? Does the Derived object get created?
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.