I'm a Java and Codeguru newbie, so please don't be too harsh.
I'm currently having this issue with enum: I'm creating an enum type that has several enum constants, one of which has its own method like this:
// enum type's constructor and other methods
My question is: how do I call constant3sOwnMethod() ?
If I don't use this method anywhere it compiles fine. But if I add a line to call the method such as this:
it won't compile, but instead shows error message: "cannot find method constant3sOwnMethod()"
P.S. Sorry I'm still trying to figure out how to post indented source code.