already passed
The 3 characteristics of an OOP language are - correct answer ✔✔encapsulation, inheritance and
polymorphism
Inheritance means the derived class inherits what from the parent class? - correct answer ✔✔data and
methods
Inheritance does not inherit what from the parent class? - correct answer ✔✔constructors
T/F Only one class can be defined in a file. - correct answer ✔✔false, only one public class
T/F A class can only contain one constructor. - correct answer ✔✔false, must be overloaded
T/F A static method is a class method. - correct answer ✔✔true
T/F The access specifier private limits access to within the class. - correct answer ✔✔true
T/F The access specifier private limits access to within the package. - correct answer ✔✔false
T/F A super class is the same as a parent class. - correct answer ✔✔true
T/F A derived class can override a method in the parent class. - correct answer ✔✔true
T/F A derived class has access to all method and data in the parent class. - correct answer ✔✔false
T/F A class must be defined before you can create the associated object. - correct answer ✔✔true