recategorized by
2,704 views

1 Answer

3 votes
3 votes
ans is A private (these members  can only be accessed by methods of the class) it can not be inherited

public members  are accessible to everyone

protected members can be inherited and hence accessible by derived class

derive is not a member specifier

Related questions

0 votes
0 votes
1 answer
1
makhdoom ghaya asked Sep 15, 2016
893 views
Match the following :$\begin{array}{clcl} \text{(a)}& \text{Garbage collection in} & \text{1.} & \text{Java} \\ \text{(b)}& \text{Nameless Object} & \text{2.} & \text{ge...
0 votes
0 votes
2 answers
2
1 votes
1 votes
1 answer
4
makhdoom ghaya asked Jul 4, 2016
1,838 views
Match the following with respect to I/O classes in object oriented programming $:$$\begin{array}{clcl} & \textbf{List – I}&& \textbf{List – II} \\ \text{a.} & \text{...