Object Oriented Programming
1.Distinguish between procedure oriented programming and object oriented programming
2.Give a real world example to illustrate the concept of abstraction andencapsulation
3.Differentiate classes and objects
4.Give a mechanism that enhances the reusability of classes in OOP (inheritance)
5.Difference between structure and union
6.Explain the functionality of scope resolution operator
7.Does OOP have any option the initialize the values of the data members of aclass? How that option can
be explicitly provided? (constructors)
8.Differentiate formal arguments and actual arguments
9.Explain function overloading
10.Usually data members can be accesses by its member functions. But consider ascenario where two classes have to share a single function. What concept on OOPcan be applied? Explain. (friend functions)
11.How can a private member can be made inheritable (protected)
12.How exception handling is done in OOP (try, catch, throw)
13.Distinguish error and exception
0 comments:
Post a Comment