Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@
* 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.
---
---
## **Exercise 1.1**

1. *In computer jargon, what’s the difference between a statement and a comment?*[^1]
2. *What does it mean to say that a program is portable?*[^2]
3. *In common English, what does the word compile mean?*[^3]
4. *What is an executable? Why is that word used as a noun?*[^4]
---
---


[^1]:The difference between a statement and a comment is that a statement is read as executable while a comment is ignored by the program.
[^2]:A portable program is one that can run on more systes than just the one it was made for.
[^3]:Compile means to translate from one language into another for the computer to use.
[^4]:An executable is a program or code that can be run. Its used as a noun because it is describing a thing.
8 changes: 8 additions & 0 deletions src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
*
* @author Trevor Hartman
* @author Cassandra Portlock
*
* @since Version 1.0*/

public class HelloXwing {
/**
* Returns a String containing a X-Wing ASCII-Art
Expand Down Expand Up @@ -28,6 +35,7 @@ static String xwing() {
}

public static void main(String[] args) {
System.out.println(HelloXwing.xwing());
// Comment
}
}