What is the difference between public, private, protected
inheritance?
Answer Posted / krishnakumar
Modifier | Class | Package | Subclass | World
public | Y | Y | Y | Y
protected | Y | Y | Y | N
no modifier | Y | Y | N | N
private | Y | N | N | N
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Write about an iterator class?
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
Why do we need templates?
What size is allocated to the union variable?
What is the difference between global variables and static varables?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
List different attributes in C++?
State the difference between delete and delete[].
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
Why we use #include conio h in c++?
What is the difference between method overloading and method overriding in c++?
Why should we use null or zero in a program?
What is the use of map in c++?
What is pointer to array in c++?
What is c++ map?