| PART A: Java | |
- Simple Object Oriented language
- Syntax based on C
- Basic data types similar to C
- Removal of many dangerous features of C
- Automatic garbage collection
- Large standard libraries including networking, Web and GUI
class Squares {
static public void main(String argv[]) {
for (int n = 0; n < 20; n++)
System.out.println(n +
" squared is " + n*n);
}
}
Slide 1 | ©Copyright 1997 | Jan Newmarch |