Answer to Question #250197 in Programming & Computer Science for Yiyi

Question #250197

Write a Java program that displays at least four (4) lines of your favorite song


1
Expert's answer
2021-10-12T05:14:36-0400


public class App {


	public static void main(String[] args) {
		System.out.println("Yesterday");
		System.out.println("\nAll my troubles seemed so far away");
		System.out.println("Now it looks as though they're here to stay");
		System.out.println("Oh, I believe in yesterday");
		
		System.out.println("\nSuddenly");
		System.out.println("I'm not half the man I used to be");
		System.out.println("There's a shadow hangin' over me");
		System.out.println("Oh, yesterday came suddenly");
	}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS