Basic Concepts of OOPs
Basic Concepts of OOPs
2. What is object?
Ans: object is an entity which has physical existence in the real world. An object is a collection of data
members and associated member functions. Each object is identified by a unique name.
3. What is class?
Ans: a class is a collection of object of similar type that share some common properties among them.
6. What is inheritance?
Ans: inheritance is a process of acquiring properties from parent class to child class.
7. What is overloading?
Ans: two or more functions having the same name but differ in the number of arguments or data type of arguments is
called overloading
8. What is polymorphism?
Ans: a function can take multiple forms based on the type of arguments, number of arguments and data type
of return value.
- CAD/CAM software.
- Object oriented data base.
- User interface design such as windows.
- Real time systems.
- Simulation and modeling.
- Artificial intelligence and expert systems.