158k views
2 votes
Write a program called FarewellGoodBye that prints the following lyrics. Use static methods to show structure and eliminate redundancy in your solution. Farewell, goodbye, au revoir, good night! It's time, to go, and I'll be out of sight! Farewell, goodbye, au revoir, take care! I'll say, goodbye, that's neither here nor there! Farewell, goodbye, au revoir, see you later! I hope, you think, I'm a lover, not a hater!

1 Answer

4 votes

Answer:

Please find the attachment file of the code.

Step-by-step explanation:

In this code, a static method "lyrics" is declared, that defines three-string variable "a,b, and c ", that holds some values, which is defined in the question and use print method to print other values and prints "a,b, and c" string value inside the main method the static method "lyrics" is called that print the above values.

Write a program called FarewellGoodBye that prints the following lyrics. Use static-example-1
User David Barnes
by
5.3k points