Is it possible to do this? For example, what would the contents of ReflectorClass.getString() need to be for this code to print the contents of someString?
public class Start {
public static void main(String[] args) {
String someString = "Hello world!";
System.out.println(ReflectorClass.getString());
}
}
Aucun commentaire:
Enregistrer un commentaire