READ Free Dumps For Oracle- 1z0-851
Question ID 3685 | A company that makes Computer Assisted Design (CAD) software has, within its application, some utility classes that are used to perform 3D rendering tasks. The company's chief scientist has just improved the performance of one of the utility classes' key rendering algorithms, and has assigned a programmer to replace the old algorithm with the new algorithm. When the programmer begins researching the utility classes, she is happy to discover that the algorithm to be replaced exists in only one class. The programmer reviews that class's API, and replaces the old algorithm with the new algorithm, being careful that her changes adhere strictly to the class's API. Once testing has begun, the programmer discovers that other classes that use the class she changed are no longer working properly. What design flaw is most likely the cause of these new bugs? |
Option A | A. Inheritance |
Option B | B. Tight coupling |
Option C | C. Low cohesion |
Option D | D. High cohesion |
Option E | E. Loose coupling |
Option F | F. Object immutability |
Correct Answer | B |
Question ID 3686 | Which Man class properly represents the relationship "Man has a best friend who is a Dog"? |
Option A | A. class Man extends Dog { } |
Option B | B. class Man implements Dog { } |
Option C | C. class Man { private BestFriend dog; } |
Option D | D. class Man { private Dog bestFriend; } |
Option E | E. class Man { private Dog<bestFriend>; } |
Option F | F. class Man { private BestFriend<dog>; } |
Correct Answer | D |