Answer Posted / nani
Private : It can access with in the class only
public :It can Access Any where in java program
proteced:It can access with in the package and sub class of
the package also
default:it access with in the java program.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the differences between getting and load method?
What is static variable with example?
what are abstract functions?
What is oop principle in java?
Who developed java?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
What is derived datatype?
What is Major and importance difference between for and foreach loop ?
Define iterator and methods in iterator?
Why is inheritance used in java?
Explain the differences between abstraction and encapsulation?
How do you test a method for an exception using junit?
What does indexof return in java?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is boolean data type in java?