home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java by Example
/
jbecd.bin
/
JBE-CD
/
NTUsers
/
JBECODE.ZIP
/
JavaByExample
/
chap05
/
lst5_3.txt
< prev
Wrap
Text File
|
1996-04-24
|
287b
|
20 lines
public class Block1 extends Applet
{
int value1 = 32;
void Block2()
{
float value2 = 4.5f;
value1 = 45;
}
void Block3()
{
value1 = 100;
// The following line causes an error.
value2 = 55.46f;
}
}