| 
 |  | 
 
|  |  |  
|  | java |  |  |  
|  |  |  |  
|  |  |  |  |  
|  | 
 
| The Silicon Graphics Teaching Laboratoryhas been replaced by the
 Chemi
cal Information Laboratory
 and this information is for historical interest only
JavaJava is an object oriented programming language, designed to be
simple, small and portable. Netscape and some other
WWW browsers can run Java programs. Examples of Java programs are available
in the directory 
/usr/local/java_demo.
Java programs on this WWW server: 
 
 Only available to machines in the SGTLTo compile a Java program in the 
SGTL, type:javac filename.java
 
 Data Types
boolean
true or false
1 bit
char
unicode character
16 bite
byte
signed integer
8 bits
short
signed integer
16 bits
int
signed integer
32 bits
long
signed integer
64 bits
float
floating point
32 bits
double
floating point
64 bits
 |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  
 |