java 不定長參數實現原理

public static void main(String[] args) { test("a", "b", "c"); } public static void test(String... strs) { System.out.println(strs.getClass().getSimpleName()); System.o
相關文章
相關標籤/搜索