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.
Answer / schumi
an abstract class permits all access modifiers except
PRIVATE
Is This Answer Correct ? | 8 Yes | 2 No |
What is polymorphism what is it for and how is it used?
what is the diffrence between c# and c++
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
What is Dynamic Polymorphism?
i^=j; j^=i; i^=j; value of i,j
//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(); }
What are the advantages of inheritance?
26 Answers IBS, TCS,
write knight tour problem which is present in datastructure
What is virtual class and friend class?
Why is oop useful?
What is difference between #define and const?
Why do we use class in oops?