Вы находитесь на странице: 1из 1

Subject

Subject Code
Department
Semester

: Object Oriented Concept and Programming (OOCP)


: 620003
: MCA
: 2nd Sem

Question set 1

(1)

What is a virtual base class? When do you make a class virtual. OR


Explain Virtual Base Class with example.

(2)

What is generic programming? What are the advantages of such a support in a language?

(3)

Difference between new and malloc().

(4)

What is this pointer? Explain with example.


OR
What does this points to? What are the applications of this pointer.

(5)

Explain the concept of public, private and protected derivation in C++.

(6)

How generic functions differ from overloaded functions? Can we overloaded generic function?
How or Why.

Prepared By
Mr. Milan Vachhani

HOD (MCA Department)


Asst. Prof. V. A. Gandhi

Created By: Milan Vachhani


Lecturer, MCA Department, B. H. Gardi College of Engineering and Technology

Вам также может понравиться