1
Answer

How we can access the private data member of another class in JAVA?

Photo of Abhishek Dubey

Abhishek Dubey

13y
2.6k
1
Hi
  We want to access the private data member and method of parent class in child class. Here the class child inherit the parent class.

Answers (1)