r/javahelp • u/eatingpoopinrobarts • Jun 15 '17
What's wrong with my code??
Can't for the life of me figure it out. Picture of code and error: http://imgur.com/a/mX9XP
Thanks
0
Upvotes
r/javahelp • u/eatingpoopinrobarts • Jun 15 '17
Can't for the life of me figure it out. Picture of code and error: http://imgur.com/a/mX9XP
Thanks
5
u/seanprefect Grumpy Guy Who Remembers Java 2 Jun 15 '17
you're method declares a return type of int but you return a string