Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Static method should be accessed in a static way message

807600Aug 5 2007 — edited Aug 5 2007
I'm getting the warning message saying
Static method should be accessed in a static way message.

Ignoring it still seems to work.

Can anyone tell me briefly how you access a method in a static way
&
What's bad if that is not fixed?

Thank you in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2007
Added on Aug 5 2007
1 comment
293 views