How to access a variable if it is declared as private?
Answer Posted / ravikiran(aptech mumbai)
the variable declared as private can be accessed with in the
same class only
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How do you sort a string in java?
How do you reverse a list?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
Are functions objects in java?
Explain the difference between a Thread and a Process.
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is meant by call by reference?
How long will it take to learn java?
What is a concrete classes? Is Java object class is concrete class?
Which is better list or arraylist in java?
What is a "pure virtual" member function?
Why singleton class is used in java?
What ide should I use for java?
What is string data type?
Differentiate between class and structure.