Question: Given the code below, which of the following statements are false. i. The Account class is encapsulated ii. Account is the superclass of Teacher iii.



Given the code below, which of the following statements are false. i. The Account class is encapsulated ii. Account is the superclass of Teacher iii. signin, delete and getDetails are inherited by Teacher from Account iv. All instance variables from Account are inherited by Teacher a. i only b. ii and iii c. i and iii d. ii, iii and iv Select all true statements. a. All MVC application use Data Transfer Objects to read data from databases b. Data Access Classes and Data Access Objects can be used to encapsulate database interactions in MVC applications. c. Java applications can only be used with SQL databases such as MySQL and PostgreSQL d. Arraylist is a subclass of List in Java Given the code below, which object-oriented principles are used in the modeling of the three classes. a. Inheritance and method overloading b. Inheritance and method overriding C. Inheritance only d. Inheritance and static members Given the code below, which object-oriented principle allows the main method to execute. a. Abstraction b. Polymorphism c. Encapsulation d. Method Overriding e. Inheritance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
