Professional Documents
Culture Documents
M. Jason Hinek
Carleton University
Hello, world!
/* Processing output window */
text("hello, world!", 25, 50);
/* Processing console output */
println("hello, world!");
# Python
print "hello, world!"
/* Java hello world */
public class HelloWorld{
public static void main(String[] args){
System.out.println("hello, world!");
}
}
Hello, world!
/* Processing output window */
text("hello, world!", 25, 50);
/* Processing console output */
println("hello, world!");
# Python
print "hello, world!"
/* Java hello world */
public class HelloWorld{
public static void main(String[] args){
System.out.println("hello, world!");
}
}
Hello, world!
/* Processing output window */
text("hello, world!", 25, 50);
/* Processing console output */
println("hello, world!");
# Python
print "hello, world!"
/* Java hello world */
public class HelloWorld{
public static void main(String[] args){
System.out.println("hello, world!");
}
}
Hello, world!
/* Processing output window */
text("hello, world!", 25, 50);
/* Processing console output */
println("hello, world!");
# Python
print "hello, world!"
/* Java hello world */
public class HelloWorld{
public static void main(String[] args){
System.out.println("hello, world!");
}
}
Hello, world!
/* Processing output window */
text("hello, world!", 25, 50);
/* Processing console output */
println("hello, world!");
# Python
print "hello, world!"
/* Java hello world */
public class HelloWorld{
public static void main(String[] args){
System.out.println("hello, world!");
}
}
class name is capitalized (use camel case if more than one word)
class XXX must be in the file XXX.java
so HellowWorld must be in the file HelloWorld.java
next, we run the bytecode with the JVM (Java virtual machine)
class name is capitalized (use camel case if more than one word)
class XXX must be in the file XXX.java
so HellowWorld must be in the file HelloWorld.java
next, we run the bytecode with the JVM (Java virtual machine)
class name is capitalized (use camel case if more than one word)
class XXX must be in the file XXX.java
so HellowWorld must be in the file HelloWorld.java
next, we run the bytecode with the JVM (Java virtual machine)
class name is capitalized (use camel case if more than one word)
class XXX must be in the file XXX.java
so HellowWorld must be in the file HelloWorld.java
next, we run the bytecode with the JVM (Java virtual machine)
class name is capitalized (use camel case if more than one word)
class XXX must be in the file XXX.java
so HellowWorld must be in the file HelloWorld.java
next, we run the bytecode with the JVM (Java virtual machine)
XXX.java
XXX.java
XXX.java
javac XXX.java
XXX.java
javac XXX.java
XXX.java
javac XXX.java
java.class
XXX.java
javac XXX.java
java.class
XXX.java
javac XXX.java
java.class
java XXX
XXX.java
javac XXX.java
java.class
java XXX
javac XXX.java
java.class
java XXX
HelloWorld