45.1k views
25 votes
Create 2 methods of your choice.

Your methods must have at least 1 parameter and must return a value. Your methods have to return different types, for example: if your 1st method is returning a boolean then maybe you'll want your 2nd method to return an int. It is up to you what you have them returning as long as they are returning 2 different types. Call those 2 methods within your main method and print the results.

User Sti
by
4.6k points

1 Answer

8 votes
I can’t find how to do this
User Kayti
by
4.7k points