Skip to content

Instantly share code, notes, and snippets.

@bloopepper
Last active April 5, 2016 12:28
Show Gist options
  • Save bloopepper/53591eaddf9e4d87119144b2f4858189 to your computer and use it in GitHub Desktop.
Save bloopepper/53591eaddf9e4d87119144b2f4858189 to your computer and use it in GitHub Desktop.
// Welcome to your first programming exercise! This is the Udacity IDE or
// "Integrated Development Environment," where you submit your code.
// If you have BlueJ installed, it is a good idea to use it for programming. Then
// you just paste the solution here. For this assignment, start out with this
// BlueJ project: lesson1/twoLineHello
// Look for lines that begin with two slashes! These are "comments" and
// we will use them to let you know what you should do on each programming
// exercise. Have fun!
public class HelloWorld
{
public static void main(String args[])
{
// Write your code to print "Hello" and "World!" on separate lines below
// Hint: You can use System.out.println("your text here");
// Hint2: You may need to write two lines of code.
//
// Type your code below this line here.
System.out.println( "Hello" );
System.out.println( "World!" );
// Once you are happy with your code, you can hit the "test" button to
// try out your code. And once you have the correct results, you can use
// the submit button to formally submit your code.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment