a. Private methods are final.
b. Protected members are accessible within a package and inherited classes outside the package.
c. Protected methods are final.
d. We cannot override private methods.
Answer:
1,2 and 4
a. Private methods are final.
b. Protected members are accessible within a package and inherited classes outside the package.
c. Protected methods are final.
d. We cannot override private methods.
1,2 and 4
a) lib b) package c) getlib d) import Answer d) import
a. ResultSet b. DriverManager c. Statement d. Connection Answer: b. DriverManager Explanation: DriverManager is a class that acts as an interface between users and Drivers. It
a) True b) False Answer b) False Explanation: A subtype is something that is substituted for and behaves as its parent type. All subclass may
i) It is used as its fundamental building block ii) Similar objects are classified using a concept of class iii) Polymorphism and abstraction are not
Oracle Certified Tutor/Trainer with 100+ reviews