[Solved] what components do exist in any java class? [closed]


I think this is everything that every Java class has:

  1. A class name.
  2. A class access … implicitly package private, if you don’t specify one.
  3. A package … implicitly the default package, if you don’t specify one.
  4. A superclass … implicitly java.lang.Object, if you don’t specify one.
  5. A body which may be empty.
  6. A constructor … implicitly a default no-args constructor, if you don’t specify one.

solved what components do exist in any java class? [closed]