public class test1{
public static void main(String args[]){
String str="result = ";
int a = 10;
int b = 20;
System.out.println("a = "+ a);
System.out.println(b + a);
String result = str + a + b;
System.out.println(result);
System.out.println("a = "+ a + ",b = " + b);
/*
String str1 = "hello";
String str2 = "world";
String str3 = str1+str2;
System.out.println(str3);
String str4 = str1+" "+str2;
System.out.println(str4);
String str = "e:\\test.java";
System.out.println(str);
String str = "\'Hello,World\'";
System.out.println(str);
boolean bool = true;
boolean bool2 = false;
System.out.println(bool);
System.out.println(bool2);
short sh = 10;
System.out.println(sh);
System.out.println(Short.MAX_VALUE);
System.out.println(Short.MAX_VALUE);
byte b = 121;
System.out.println(b);
System.out.println(Byte.MAX_VALUE);
System.out.println(Byte.MIN_VALUE);
char ch1 = 'A';
char ch2 = '高';
System.out.println(ch1);
System.out.println(ch2);
*/
}
}