Q. In the following Java code, what can directly access and change the value of the variable name?
package test;
class Target
{
public String name = "hello";
}
β
Correct Answer: (C)
any class in the test package