To make x a String, put it in "s
String anX = "x"; // put x in a String
Type: Posts; User: Norm
To make x a String, put it in "s
String anX = "x"; // put x in a String
The compiler can not find the variable or method named in the error message. Check that it exists and is spelled correctly.
primitives do NOT have methods.
int x = 1;
x.getIt(); // ...