日期:2014-05-20 浏览次数:20723 次
public class FunctionDemo { public static void main(String[] args) { System.out.println(equals(7, 5)); } public static boolean equals(int a, int b) { if (a == b) return true; else return false; } }