Estou com duvida na seguinte questão.
package test;
class Target{
public String name = "Hello";
}
What can directly access and change the value of the variable name?
A.Any class
B.Only the Target class
C.Any class in the test package
D.any class that extends Target
Não seria a resposta A correta devido a classe ser publica?, Pois aqui esta marcado como correta a resposta C.
