I think this is everything that every Java class has:
- A class name.
- A class access … implicitly package private, if you don’t specify one.
- A package … implicitly the default package, if you don’t specify one.
- A superclass … implicitly
java.lang.Object
, if you don’t specify one. - A body which may be empty.
- A constructor … implicitly a default no-args constructor, if you don’t specify one.
solved what components do exist in any java class? [closed]