From 55c68aa63eb12e1b51cab8b5524f8940314d24c2 Mon Sep 17 00:00:00 2001 From: tchristie119 Date: Thu, 24 Aug 2023 13:07:20 -0700 Subject: [PATCH 1/2] commit message :D --- README.md | 5 +++++ src/HelloXwing.java | 14 +++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c6885c..218e112 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,8 @@ * 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 16dfd8e..e577dfc 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,5 +37,8 @@ static String xwing() { } public static void main(String[] args) { + HelloXwing.xwing(); + System.out.println(HelloXwing.xwing()); + } } From 9df9b7e71f761d9218fca271bae51feba4cce31a Mon Sep 17 00:00:00 2001 From: tchristie119 Date: Thu, 24 Aug 2023 13:11:46 -0700 Subject: [PATCH 2/2] commit message :D --- README.md | 1 + src/HelloXwing.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 218e112..9ef22be 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ * 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** diff --git a/src/HelloXwing.java b/src/HelloXwing.java index e577dfc..024a55f 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -39,6 +39,5 @@ static String xwing() { public static void main(String[] args) { HelloXwing.xwing(); System.out.println(HelloXwing.xwing()); - } }