class Demo
{
public static void main(String[] args)
{
int a=3,b;
b=++a;
System.out.println("\"a\"=" + "\"" +a+ "\"" + ","+ "\"b\"=" + "\""+b+"\"");
//System.out.println("a="+a+",b="+b);
//System.out.println("\"a\"=" + "\""+a+"\"");
}
}
要求输出"a"="4",
"b"="4"
\n插入注意事项??? |
|