OOP Flashcards
1
Q
What is OOPS?
A
OOP stands for Object-Oriented Programming,
which means it is a way to *create software *
around objects.
2
Q
What are the main concepts of OOPS?
A
- Abstraction.
- Encapsulation.
- Inheritance.
- Polymorphism.
- Class
- Object
3
Q
What are the advantages of OOPS?
A
- The advantages of OOP are:
- Reuse of code using Inheritance.
-
Flexibility of code using
Polymorphism. - Secure application by using Encapsulation.
- Easy Scalable from small to large applications.
- Easier troubleShooting of code because of modularity.
4
Q
What are the types of classes in C#?
A
Types of classes are:
1. Abstract Class
2. Static Class
3. Partial Class
4. Sealed Class
5
Q
A