Explain the differences between public, protected, private
and internal.
Answer Posted / avinash
public means we can access the code or data in public that
is visible to others.
protected means the code or data can be within the system
and,or it has no access to it.and it is not available.
private means it can be accessesed only by the person who
has the access or key to it.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is it better to use malloc() or calloc()?
What is the general form of #line preprocessor?
Why isnt there a numbered, multi-level break statement to break out
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
What are the c keywords?
What is wrong with this declaration?
Are pointers really faster than arrays?
Can static variables be declared in a header file?
What is calloc()?
What are keywords c?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Is it possible to initialize a variable at the time it was declared?
How can I invoke another program or command and trap its output?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
What is 1f in c?