public static void main( String[] args )

imada.sdu.dk

public static void main( String[] args )

University of Southern Denmark • Syddansk Universitet

Repetition

• Kompilere og køre Java program

• javac HelloWorld.java

• java HeloWorld.java

• Debugge Java program

• javac -g HelloWorld.java

• jswat

• Det basale Java program

public class HelloWorld { ... }

public static void main(String[] args) { ... }

• System.out.println(...);

• “Program = Variable + Instruktioner”

• “Algoritme = Tilstand + Opførsel”

More magazines by this user
Similar magazines