From c69773c43a9d7d880acfd729db0dc0efac040fb8 Mon Sep 17 00:00:00 2001 From: kieran Date: Sun, 21 Jan 2024 14:41:33 -0800 Subject: [PATCH 1/2] Completed Java lab 001 --- .idea/misc.xml | 2 +- src/HelloXwing.java | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 7464918..172df7b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..b5e117b 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,3 +1,9 @@ +/** + +@author kieran + + +*/ 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()); } } From 1e32730c10e46b86120aff42279d0e8ed90a197a Mon Sep 17 00:00:00 2001 From: kieran Date: Sun, 21 Jan 2024 14:52:24 -0800 Subject: [PATCH 2/2] Completed Java lab 001 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5c6885c..6d1d419 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. + +-A statement is a line of code that performs a specific action and a comment is a piece of text in the code that is not executed. +-A program is portable if it can run on different computer systems without requiring modifications. +-To compile is to gather information. +-An executable is a file that contains a program that is ready to be run. \ No newline at end of file