Java Reference
In-Depth Information
6. Write a complete Java program that prints the following output. Use at least one static method besides main to help you.
There's one thing every coder must understand:
The System.out.println command.
There's one thing every coder must understand:
The System.out.println command.
7. Write a complete Java program that prints the following output. Use at least one static method besides main to help you.
//////////////////////
|| Victory is mine! ||
\\\\\\\\\\\\\\\\\\\\\\
|| Victory is mine! ||
\\\\\\\\\\\\\\\\\\\\\\
|| Victory is mine! ||
\\\\\\\\\\\\\\\\\\\\\\
|| Victory is mine! ||
\\\\\\\\\\\\\\\\\\\\\\
|| Victory is mine! ||
\\\\\\\\\\\\\\\\\\\\\\
8. Write a program that displays the following output:
_______
/ \
/ \
-"-'-"-'-"-
\ /
\_______/
9. Modify the program from the previous exercise so that it displays the following output. Use static methods as
appropriate.
_______
/ \
/ \
\ /
\_______/
-"-'-"-'-"-
_______
/ \
/ \
\ /
\_______/
-"-'-"-'-"-
\ /
\_______/
_______
/ \
/ \
-"-'-"-'-"-
\ /
\_______/
Search WWH ::




Custom Search