/** * Created by xabcd on 2019/2/12. */ public class TestJava3_17 {public static void main(String args[]) { if (5>2) System.out.println("返回值"+(5>2)); if (true) System.out.println("Hello Java"); if((3+6)==(3-6)) System.out.println("I like Java!"); } } 返回值true Hello Java