Skip to content

Instantly share code, notes, and snippets.

@bearlikelion
Created January 17, 2017 17:05
Show Gist options
  • Save bearlikelion/981925c4fbc62ce503a03fac9acbf19c to your computer and use it in GitHub Desktop.
Save bearlikelion/981925c4fbc62ce503a03fac9acbf19c to your computer and use it in GitHub Desktop.
Bob Lane's Java Homework
// Name of our program's project
public class HelloWorldHomework
{
// the main() function is the start of an application
// static means it will never change
// void means there is no expected return
// String[] args is a requirement to pass arugments into the initilization of an application
public static void main(String[] args)
{
// System.out(put). print line
// documentation: http://docs.oracle.com/javase/1.5.0/docs/api/java/io/PrintStream.html#println(java.lang.String)
System.out.println("Hello Bob Lane!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment