创建一个String变量,并给它赋一个数值(如abcdrfg)。然后使用System.out.println()显示这个变量
String str = "abcdrfg";System.out.println(str);注:你这种情况建议先看下java基础
赋值 Hello World 吧