✏️ Explanatory Question

If a variable is declared as private, where may the variable be accessed?

👁 967 Views
📘 Detailed Answer
💡

Answer with Explanation

A private variable may only be accessed within the class in which it is declared.