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
Give the difference between the println method and sqrt method?
Can we override singleton class?
What is hash code collision?
Can we use a switch statement with strings?
How can we access some class in another class in java?
What does java stand for?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is another word for methodology?
How many bytes is 255 characters?
Where will it be used?
What do you mean by garbage collection used in java?
What is the class in java?
What is the collections api?
How can we pass argument to a function by reference instead of pass by value?
What are the advantages of functions?