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.
12345678910 |
- import java.lang.reflect.Field;
- import java.util.ArrayList;
-
- public class MyList extends ArrayList<Integer> {
- public static void main(String []argv) throws Exception {
- Field f = MyList.class.getDeclaredField("serialVersionUID");
- f.setAccessible(true);
- System.out.println("ser="+f.getLong(new MyList()));
- }
- }
|