(a)     
JPython 1.0.1 on javaJDK1.1.6_Borland
Copyright 1997-1998 Corp. for National Research Initiatives
>>>
(b)
>>> from java.math import BigInteger
(c)
>>> bi = BigInteger( "100" )
>>> bi
100
(d)
>>> 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.

Back to Article