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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,11 @@
* 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.


# English Vs. Computer Science

* A statement is a unit of instructions in a programming language intended to carry out a task, whereas a comment is a unit of instructions in the English language intended to provide more readable code among other things.
* A program being portable is a program that is designed to be standalone, that can be taken from one environment to another and work as intended.
* In English, to compile is to assemble many parts into a final product.
* An executable is a file that can be run by a computer. It is a noun derived from the verb to execute. If a computer can execute a file, it is an executable. **Not the guillotine definition.**
11 changes: 10 additions & 1 deletion src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
*
* @author Trevor Hartman
* @author James Ward
*
* @since Version 1.0
*
*/

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

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