eadLi
e
catchIOExceptio
efori2i
i
try
fBufferedReaderbr
ewBufferedReader
ewI
putStreamReaderSystemi
tempI
tegerparseI
tbrreadLi
eiftempmaxmaxtempiftempmi
mi
tempcatchIOExceptio
e2、参考程序如下:importjavaappletimportjavaawtpublicclassabcexte
dsAppletComplexabcpublicvoidi
ita
ewComplex12b
ewComplex34c
ewComplexpublicvoidpai
tGraphicsgcacomplexAddbgdrawStri
g