Does the code compile OK? The compiler will tell you if there are syntax problems with the code.
If it compiles, try testing it by calling the method and printing out what is returned.
You can...