Answer Posted / prashanth
public,protected,private are access modifiers where public
is used for acess the methods and variables to unlimited
extent.
private:is used to access the variables upto the enclosing
region
protected:and it is limited to class itself or classes that
are derived
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Can private class be inherited?
What are the important components of cohesion?
Can you inherit a private class?
What is abstraction encapsulation?
What is encapsulation process?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What are objects in oop?
What does <> mean pseudocode?
Why do we need oop?
Can we create object of abstract class?
What is protected in oop?
Write a program to sort the number with different sorts in one program ??
Can static class have constructor?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.