java参数

当整个方法返回值当参数时,后面不需要分号(;)

    public static void main(String[] args) {
        
 System.out.println(LoanInformationEntryEnum.loan_supplement_0002.ordinal());
        
    }

  ordinal后面没有分号

posted @ 2020-11-07 14:12  24601  阅读(135)  评论(0)    收藏  举报