Question: Please use java (b) Write a method named quote that takes 2 String's that are passed as, arguments The first is a quote, and the

Please use java
(b) Write a method named "quote" that takes 2 "String's that are passed as, arguments The first is a quote, and the second is the author. The method should return a string that has the quote in quotes and put a hyphen before the author. For instance. The output of "System.out.println(quote("I am Iron Man.", "Tony Stark")); would be "I am Iron Man." -Tony Stark (Note: the string has quotes as characters in the String. You do not have to write any "main" method or method call.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
