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.

MyList.java 315B

12345678910
  1. import java.lang.reflect.Field;
  2. import java.util.ArrayList;
  3. public class MyList extends ArrayList<Integer> {
  4. public static void main(String []argv) throws Exception {
  5. Field f = MyList.class.getDeclaredField("serialVersionUID");
  6. f.setAccessible(true);
  7. System.out.println("ser="+f.getLong(new MyList()));
  8. }
  9. }