There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of the system class in java?
What is a singleton class in Java?
Differentiate constructor and a method and how are it be used?
Is java owned by oracle?
What is a method vs function?
Which of the following classes will have more memory allocated?
What is the list interface?
What is the difference between abstraction and encapsulation?
can any one tell me what is advantage of encapsulation
What is %02d?
What is the basic concept of java?
What is immutable data?