diff --git a/README.md b/README.md index 5c6885c..9ef22be 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,9 @@ * Modify the HelloXwing.java file to print out to the **console** the xwing() method. * Run your program, verify an ascii-art X-Wing prints to the console, and save your changes. * Commit your changes back to your GitHub account and follow the video on doing a Pull request to the instructor account. + + +1. In computer jargon, what's the difference between a statement and a comment? **A statement is a line of code that performs an action, a comment explains the code** +2. What does it mean to say that a program is portable? **It can run on more than one kind of computer** +3. In common English, what does the word compile mean? **To gather info from multiple sources into one place** +4. What is an executable? Why is that word used as a noun? **An executable is object code that is ready to run on specific hardware. It's used as a noun rather than an adjective because it's describing the name of the file rather than the nature of it** \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..024a55f 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,6 +1,15 @@ +/** + * + * @author Trevor Hartman + * @author Taylor Christie + * + * @since Version 1.0 + * + */ + public class HelloXwing { /** - * Returns a String containing a X-Wing ASCII-Art + * Returns a String containing an X-Wing ASCII-Art * * @return Ascii-Art String of an X-Wing */ @@ -28,6 +37,7 @@ static String xwing() { } public static void main(String[] args) { - // Comment + HelloXwing.xwing(); + System.out.println(HelloXwing.xwing()); } }