Examine the following code:
class Course { String courseName; } class Main { public static void main(String args[]) { Course c = new Course(); c.courseName = "Java"; System.out.println(c.courseName); } }
Which of the following statements will be true if the variable courseName is defined as a private variable?
C
If the variable courseName is defined as a private member, it won't be accessible from the class Main.