public class Compound{
public static void main(String args[]) {
int x = 10;
int j = 40;
{
int y = 40;
System.out.println(y);
int z = 245;
boolean b;
{
b = y > z;
System.out.println(b);
}
}
String word = "hello word";
System.out.println(word);
if (x > j) {
System.out.println('>');
}
if (x < j) {
System.out.println('
关注
打赏
java流程控制
立即登录/注册


微信扫码登录