Can private variables be accessed in another class by creating object of that class?
Answers
Answered by
0
private variables can be accessed only up to the scope of that class where it is declared
Similar questions
Computer Science,
6 months ago