"illegal start of expression..."
hmm.. big possibility that you have error in your syntax. Check all your code (line by line ) happy debugging!
BTW, you are not trying to simply write:
public double getModulo() {
/* rest of this method's code */
}
and then compile it, without putting it in a class right?
If you do, then I think you should learn more about OOP in Java
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.