Skip to content
Open

fff #17

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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
* 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 is a line of code that performs an action, a comment explains the code**
2. What does it mean to say that a program is portable? **It can run on more than one kind of computer**
3. In common English, what does the word compile mean? **To gather info from multiple sources into one place**
4. What is an executable? Why is that word used as a noun? **An executable is object code that is ready to run on specific hardware. It's used as a noun rather than an adjective because it's describing the name of the file rather than the nature of it**
14 changes: 12 additions & 2 deletions src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
/**
*
* @author Trevor Hartman
* @author Taylor Christie
*
* @since Version 1.0
*
*/

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

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