DulcetAirman

mutable BigInteger

Mar 16th, 2016
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.math.BigInteger;
  2.  
  3.  
  4. public class SomeClass extends BigInteger {
  5.   public SomeClass() {
  6.     super("42");
  7.   }
  8.   public int x = 9;
  9.  
  10.   public static void main(final String[] args) {
  11.     final SomeClass obj = new SomeClass();
  12.     obj.x = 10;
  13.   }
  14. }
RAW Paste Data