diff --git a/.idea/misc.xml b/.idea/misc.xml index 7464918..47478b9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 5c6885c..32f42fa 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,11 @@ * 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 a basic action, while a comment is a bit of English text that explains the code. Comments have no effect on the execution of the program, but they make it easier for other programmers to understand what you meant to do. + 2. What does it mean to say that a program is portable? + Portable means that a program can run on different kinds of computers with few or no modifications. + 3. In common English, what does the word compile mean? + The word compile means to compose out of materials from other documents. + 4. What is an executable? Why is that word used as a noun? + An executable is the translated program, or the object code. This word is used as a noun because it refers to the object code, which is also a noun. diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..842fa0c 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,3 +1,9 @@ +* @author Trevor Hartman +* @author Jett Cheong +* 01/20/24 +* @since Version 1.0 +* +*/ public class HelloXwing { /** * Returns a String containing a X-Wing ASCII-Art @@ -28,6 +34,7 @@ static String xwing() { } public static void main(String[] args) { - // Comment + HelloXwing.xwing(); + System.out.println(HelloXwing.xwing()); } }