From 51d73d6fceda45a61b703f5a24f02c4d0f04c97b Mon Sep 17 00:00:00 2001 From: ishwar Date: Sat, 2 Sep 2023 22:44:24 -0700 Subject: [PATCH] completed lab --- .idea/misc.xml | 2 +- README.md | 11 +++++++++++ src/HelloXwing.java | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 7464918..f34ceba 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..631a477 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,14 @@ * 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 does actual operations while a comment wont be complied and just explains in english what the line of code does + +2.What does it mean to say that a program is portable? +they can run on different kinds of computers with few or no modifications + +3.In common English, what does the word compile mean? +" reads the entire program and translates it completely before the program starts running" +4.What is an executable? Why is that word used as a noun? +A executable is the translated program that was made from source code and its a noun because its its own entity and can now be called upon whenever \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..cc2dc1a 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -28,6 +28,6 @@ static String xwing() { } public static void main(String[] args) { - // Comment + System.out.println(HelloXwing.xwing()); } }