i had specified the access specifier for abstarct class
member like (pure virtual function) as private.But it can
be accessed by the derived class.How the private member of
one class is accessed by other class.if any body face this
problem and found the solution plz reply to me.



i had specified the access specifier for abstarct class member like (pure virtual function) as pri..

Answer / schumi

an abstract class permits all access modifiers except
PRIVATE

Is This Answer Correct ?    8 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is polymorphism what is it for and how is it used?

0 Answers  


what is the diffrence between c# and c++

5 Answers  


WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.

4 Answers   HCL,


What is Dynamic Polymorphism?

13 Answers  


i^=j; j^=i; i^=j; value of i,j

1 Answers  






//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }

1 Answers  


What are the advantages of inheritance?

26 Answers   IBS, TCS,


write knight tour problem which is present in datastructure

0 Answers  


What is virtual class and friend class?

5 Answers   IBS, Intel, Wipro,


Why is oop useful?

0 Answers  


What is difference between #define and const?

3 Answers   emc2,


Why do we use class in oops?

0 Answers  


Categories