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
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

# Questions and answers
* Q1 - In computer jargon, what’s the difference between a statement and a
comment?
* A1 - A statement is code for the electronic device or software. A comment is code for a person to read about the statement.
* Q2 - What does it mean to say that a program is portable?
* A2 - The program can run on more than one environment.
* Q3 - In common English, what does the word compile mean?
* A3 - To translate a program in a high-level language into a low-level
language, all at once, in preparation for later execution.
* Q4 - What is an executable? Why is that word used as a noun?
* A4 - Executables are also known as Executable Programs; these are things. Nouns are persons, places, or things. Ergo, an executable is a noun.
3 changes: 2 additions & 1 deletion src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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 @@ -29,5 +29,6 @@ static String xwing() {

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