Task 4 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

3.5 Methods — overload by type

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

A show that takes an int is written above. Add an overload that takes a String and prints text: followed by it.

int: 7
text: hi
Your solution