ID:270608
 
I can't figure out how to define a string var in Java.
Help please?
String [name] "[value]"
public class StringTester {
public static void main(String args[]) {
String s = "It's a string!"; //Defines a variable of type String - which is a class - named s.
System.out.println(s); //Print out the String s.
}
}

//...I hate Java.