You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
365 B
27 lines
365 B
package test.misc;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
public class SuperTest extends ArrayList {
|
|
|
|
public SuperTest() {
|
|
super(3);
|
|
super.modCount = 2;
|
|
SuperTest.super.size();
|
|
}
|
|
|
|
public int size() {
|
|
System.out.println("1");
|
|
return 0;
|
|
}
|
|
|
|
class SuperTest1 {
|
|
|
|
public void test() {
|
|
SuperTest.super.size();
|
|
SuperTest.super.modCount = 2;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|