Hey all, this is probably a basic process, but I'm stuck on something in beginning java. Here's what I'm given:
I meant what I said and I said what I meant An elephant's faithful one hundred percent
Pretty basic at first. I just have to use named constants for each of those lines, and print them out on the screen, with each quotation on it's own line. However, the instructions say that each line of the quotation should be sent to the output stream in the same statement, meaning I can only use one System.out.println command for the entire quote. How do I do that all in just one println command? Anyone here happen to know?
> However, the > instructions say that each line of the quotation should be > sent to the output stream in the same statement, meaning I > can only use one System.out.println command for the entire > quote. How do I do that all in just one println command? > Anyone here happen to know?
There's this convention of using a symbol to represent the normally invisible newline character. It is represented as "\n". Characters preceded by backslashes (called "escape codes") occasionally mean things.