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
Explain the difference between structs and unions in c?
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Tell me can the size of an array be declared at runtime?
What is difference between arrays and pointers?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
How can I manipulate individual bits?
What is scanf_s in c?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What are pragmas and what are they good for?
What is use of bit field?
What the advantages of using Unions?
Is null a keyword in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
please give me some tips for the placement in the TCS.
What is s in c?