摘要:
Java1.5提供了一个叫varargs的新功能,就是可变长度的参数。 "Varargs"是"variable number of arguments"的意思。有时候也被简单的称为"variable arguments" 定义实参个数可变的方法:只要在一个形参的"类型"与"参数名"之间加上三个连续的 阅读全文
摘要:
``` import java.text.SimpleDateFormat; import java.util.Date; public class ImoocStudent { public static void main(String[] args) throws Exception{ for 阅读全文