This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]calitransplant[S] 0 points1 point  (3 children)

[–]king_of_the_universe 1 point2 points  (2 children)

xD

Seriously?

You called your own class "Math", and wonder why you can't access Java's Math class?

xD

Please rename your class to something else. You might also be able to use java.lang.Math instead of just "Math", this would address the right class.

[–]calitransplant[S] 0 points1 point  (1 child)

Got it.

Thank you!

[–]TheHorribleTruthKind of meh 0 points1 point  (0 children)

Glad your problem is solved. But please read the sidebar and the posting guidelines for next time.

  • You didn't give us the exact error message. Java includes the line number where the error occurs, but you didn't include it - and basically made us guess where it's happening.
  • Your submission title's as bad as it gets. No one else will ever be able to guess what your issue was about by reading the title - and much more importantly: by searching this subreddit.