user image

Deepika Deepika

Job Interview Skills
English
2 years ago

How do we access a private member of a class in Java?

user image

Abhishek Mishra

2 years ago

In Java, we can use public getters and setters to access private members of the class from outside the class.

Recent Doubts

Close [x]