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
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

# Exercise 1.1

1. A statement is data that is compiled into the code and run in the program, whereas a comment is something that is
skipped over and usually used as a reference for yourself or other editors
2. A program is portable when it is capable of being run on multiple systems, whether that is Windows, MacOS, Linux,
Android, iOS, etc.
3. In common english, to compile something is to collect into a volume or list
4. An executable is a file that can be run on a system. Specifically Windows programs are run from an executable. It is
a noun because it is a specific file or file-type.
9 changes: 8 additions & 1 deletion src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* @author Trevor Hartman
* @author Austin Barnett
*
* @since Version 1.0
*
*/
public class HelloXwing {
/**
* Returns a String containing a X-Wing ASCII-Art
Expand Down Expand Up @@ -28,6 +35,6 @@ static String xwing() {
}

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