Question: Write a method named makeSubjectLine that accepts a String argument and returns the same String but with Subject: in front of it. For
Write a method named
makeSubjectLine
that accepts a
String
argument and returns the same
String
but with "
Subject:
" in front of it.
For example, if the argument is "
Are you going to the show?
" the method returns "
Subject: Are you going to the show?
".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
