Hands on Exercise
Here are the unsolved questions from today's study:
- What is OOP?
- Why we should use OOP language over procedural language?
- Define inheritance?
- How many type of inheritance is available in general?
- Why we can't implement multiple inheritance in C#?
- How we can achieve multiple inheritance in C#.
- Define inherited member visibility with the help of a short program.
- Define hiding and elaborate with the help of a short program.
- What is overriding?
- When to use hiding and when to use overriding, elaborate with the help of a short program (hint: refer to - https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/knowing-when-to-use-override-and-new-keywords)
- What is implicit inheritance?
- What is the difference between abstract class and interface?
- What is encapsulation, elaborate it with the help of a short program.
- Define access modifiers or access specifiers that are helpful in encapsulation.
- What is abstraction? Elaborate it with a real-world example.
- What is the difference...