标签:package code 问号 max 返回 java string student pack
package java_test; class Student{ public void max(int a,int b){ System.out.println(a>b?a:b);//a>b的话返回a,否则返回b } } public class Test111 { public static void main(String[] args){ } }
标签:package code 问号 max 返回 java string student pack
原文地址:http://www.cnblogs.com/youning/p/6698410.html