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 the main difference between c and c++?
386 Answers AZTEC, B.Tech, CMC, College School Exams Tests, HCL, IBM, ITM, Khalsa Institute, Microsoft, Oracle, Sanjeevni Institute, TCS, Tech Mahindra, Wipro, ZeOmega,
What is virtual class and friend class?
What is oops in programming?
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,
How is class defined?
Why static functions always uses static variables?
in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C
can we make game by using c
When is it necessary to use member-wise initialization list in C++?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
what is abstract class ? when is used in real time ? give a exp
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }