title: Does static class contain only static method in java?
body: <p>I have found code in which static class contains methods that are not declared static.
  Compiler doesn't display any warning. It seems confusing, doesn't it?</p>