故意小猫咪

文章
5
资源
1
加入时间
3年0月9天

Java关键字解析

private 私有,修饰方法,该方法不会被其他类的对象调用,class A{ private method B(){ }}class C{}new C().B()报错修饰变量, 仅有该类内的方法可以访问该变量,局部变量仅能在该方法内使用clsaa A{private int B = 0; method B(){ System.out.print...

6-1 Duplicated Words (20分)

java旧题复习6-1 Duplicated Words (20分)This program reads a lot of words, in which may be duplicated words. The program picks out all the duplicated ones and sorts the remainders in a descendent order.函数接口定义:public static ArrayList pick(ArrayList a);a is