length()方法,length属性,size()

length :适用于数组;
length():适用于字符串;
size() :适用于泛型集合;

猜你喜欢

转载自blog.csdn.net/PAN17610011759/article/details/88622660