READ Free Dumps For Oracle- 1z0-851
Question ID 3845 | Click the Exhibit button. What two must the programmer do to correct the compilation errors? (Choose two.) |
Option A | A. insert a call to this() in the Car constructor |
Option B | B. insert a call to this() in the MeGo constructor |
Option C | C. insert a call to super() in the MeGo constructor |
Option D | D. insert a call to super(vin) in the MeGo constructor |
Option E | E. change the wheelCount variable in Car to protected |
Option F | F. change line 3 in the MeGo class to super.wheelCount = 3; |
Correct Answer | D,E |
Question ID 3846 | A team of programmers is involved in reviewing a proposed design for a new utility class. After some discussion, they realize that the current design allows other classes to access methods in the utility class that should be accessible only to methods within the utility class itself. What design issue has the team discovered? |
Option A | A. Tight coupling |
Option B | B. Low cohesion |
Option C | C. High cohesion |
Option D | D. Loose coupling |
Option E | E. Weak encapsulation |
Correct Answer | E |