Java: Konzepte |
Java ist zunächst einmal einfach eine Programmiersprache. Sie hat starke Anleihen bei C++, so dass sie für C++-Programmierer relativ leicht zu erlernen ist.
public class hello {
public static void main(String argv[]) {
System.out.println("hello world");
}
}
|
public class hello extents Applet {
public paint(Graphics g) {
g.PaintString("hello world", 10, 10);
}
}
|
Als Beispiel für ein Applet kann man sich das Spiel Bermuda ansehen.
| Homepage - Java | (C) Copyright 1999, 2000 Arnold Willemer |