X589: String Variable

declare a variable with the appropriate data type to have a statement that says: “Good Morning.” Use the variable you created in the return statement.

Examples:

goodMorning() -> "Good Morning. Have a wonderful day!"

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.