Can subclass override methods that are declared static in the superclass?
A13. No! “Methods a Subclass Cannot Override A subclass cannot override methods that are declared final in the superclass (by definition, final methods cannot be overridden). If you attempt to override a final method, the compiler displays an error message similar to the following and refuses to compile the program:” … “Also, a subclass cannot override methods that are declared static in the superclass. In other words, a subclass cannot override a class method. A subclass can hide a static method in the superclass by declaring a static method in the subclass with the same signature as the static method in the superclass. ” Q14. What is modifier for the default constructor implicitly generated by Java compiler? A14. The default constructor implicitly generated by Java compiler should have the same accessibility as the class. i.e. public class will have a public default constructor, package “friendly” class will have package “friendly” constructor, unless you explicitly define it other