Is that possible to display a value inside a private class? Because if a class is private then we don't have access to that outside of that class , I just wanna know that can we display it ? For example information about a student that has Name , Grade and Enrolled ?
I'm sorry if I couldn't write that correctly because my English is not good.
Please help me.
Is that possible to display a value inside a private class? Because if a class is private then we don't have access to that outside of that class , I just wanna know that can we display it ? For example information about a student that has Name , Grade and Enrolled ? I'm sorry if I couldn't write that correctly because my English is not good. Please help me.