home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
kaffe-0.5p4-src.tgz
/
tar.out
/
contrib
/
kaffe
/
test
/
exceptions
/
simple.java
< prev
next >
Wrap
Text File
|
1996-09-28
|
488b
|
22 lines
class simple
{
public static void main(String[] args)
{
byte[] bptr = new byte[16];
byte[] bcpy = null;
try {
bcpy = (byte [])bptr.clone();
} catch (CloneNotSupportedException cnse) {
System.out.println("cloning not supported...");
}
System.out.println("bcpy has size <" + bcpy.length + ">.");
System.out.println("bcpy[0] is <" + bcpy[0] + ">.");
System.out.println("Finished.\n");
System.exit(0);
}
}