Ask Question

Write a method, makeSubjectLine, that gets a String argument and returns the same String but with "Subject: " in front of it. So if the argument is "Are you going to the show?" the method returns "Subject: Are you going to the show?".

+3
Answers (1)
  1. 10 July, 11:02
    0
    String makeSubjectLine (String line) {

    return "Subject: " + line;

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a method, makeSubjectLine, that gets a String argument and returns the same String but with "Subject: " in front of it. So if the ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers