From 338a13f4a139759ebc5fce72b070f8a1b463bd58 Mon Sep 17 00:00:00 2001 From: AndrewE Date: Sat, 20 Jan 2024 18:06:04 -0800 Subject: [PATCH 1/5] Completed Java Lab 001 --- .idea/misc.xml | 2 +- src/HelloXwing.java | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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..e3777e3 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,3 +1,12 @@ +/** + * + * @author Trevor Hartman + * @author Andrew Escarcega + * + * @since Version 1.0 + * + */ + public class HelloXwing { /** * Returns a String containing a X-Wing ASCII-Art @@ -28,6 +37,7 @@ static String xwing() { } public static void main(String[] args) { + System.out.println(HelloXwing.xwing()); // Comment } } From 3ef250b4cf321247291623cd36d7e1fe0a7ff271 Mon Sep 17 00:00:00 2001 From: AndyE1232 <157256929+AndyE1232@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:32:02 -0800 Subject: [PATCH 2/5] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5c6885c..f39f01a 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,13 @@ * 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. + +# Q&A +* In computer jargon, what’s the difference between a statement and a comment? +* Answer: a Statement is a part of the program while a comment is more a note for the programmers. +* What does it mean to say that a program is portable? +* Answer: The code is executable across multiple operating systems. +* In common English, what does the word compile mean? +* Answer: to collect and/or assemble. +* What is an executable? Why is that word used as a noun? +* Anawer: a code or program that is ready to run. From 10bb6b86a765a40b2355bdd04b1f3d9e076aa96b Mon Sep 17 00:00:00 2001 From: AndyE1232 <157256929+AndyE1232@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:32:27 -0800 Subject: [PATCH 3/5] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f39f01a..ba3aa95 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ # Q&A * In computer jargon, what’s the difference between a statement and a comment? -* Answer: a Statement is a part of the program while a comment is more a note for the programmers. + Answer: a Statement is a part of the program while a comment is more a note for the programmers. * What does it mean to say that a program is portable? -* Answer: The code is executable across multiple operating systems. + Answer: The code is executable across multiple operating systems. * In common English, what does the word compile mean? -* Answer: to collect and/or assemble. + Answer: to collect and/or assemble. * What is an executable? Why is that word used as a noun? -* Anawer: a code or program that is ready to run. + Anawer: a code or program that is ready to run. From 08a70af297c9b443193b341deb29e364611f373f Mon Sep 17 00:00:00 2001 From: AndyE1232 <157256929+AndyE1232@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:33:48 -0800 Subject: [PATCH 4/5] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ba3aa95..f39f01a 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ # Q&A * In computer jargon, what’s the difference between a statement and a comment? - Answer: a Statement is a part of the program while a comment is more a note for the programmers. +* Answer: a Statement is a part of the program while a comment is more a note for the programmers. * What does it mean to say that a program is portable? - Answer: The code is executable across multiple operating systems. +* Answer: The code is executable across multiple operating systems. * In common English, what does the word compile mean? - Answer: to collect and/or assemble. +* Answer: to collect and/or assemble. * What is an executable? Why is that word used as a noun? - Anawer: a code or program that is ready to run. +* Anawer: a code or program that is ready to run. From 0985c73c85d055d4be0992428361f3128f1034bf Mon Sep 17 00:00:00 2001 From: AndyE1232 <157256929+AndyE1232@users.noreply.github.com> Date: Sat, 20 Jan 2024 18:34:16 -0800 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f39f01a..78a1c54 100644 --- a/README.md +++ b/README.md @@ -5,7 +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. -# Q&A +## Q&A * In computer jargon, what’s the difference between a statement and a comment? * Answer: a Statement is a part of the program while a comment is more a note for the programmers. * What does it mean to say that a program is portable?