<b>(a) </b> JPython 1.0.1 on javaJDK1.1.6_Borland Copyright 1997-1998 Corp. for National Research Initiatives >>> <b>(b)</b> >>> from java.math import BigInteger <b>(c)</b> >>> bi = BigInteger( "100" ) >>> bi 100 <b>(d)</b> >>> bi2 = BigInteger( "200" ) >>> bi.max(bi2) 200
Example 1: (a) JPython's startup message; (b) making JPython aware of the existence of a class; (c) trying out (a) of the constructors; (d) testing BigInteger's max method.
Copyright © 1999, Dr. Dobb's Journal