I tried to make a function that takes one argument (a number) and returns true/false if it has 6 inside of it. I know how to do that in python.
In python it should look like this:
def six(num):
num=str(num)
return "6" in num
How do I do it in Java?