AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-851





Question ID 3847

Given:
5.    class Thingy { Meter m = new Meter(); }
6.    class Component { void go() { System.out.print("c"); } }
7.    class Meter extends Component { void go() { System.out.print("m"); } }
8.    
9.    class DeluxeThingy extends Thingy {
10.    public static void main(String[] args) {
11.    DeluxeThingy dt = new DeluxeThingy();
12.    dt.m.go();
13.    Thingy t = new DeluxeThingy();
14.    t.m.go();
15.    }
16.    }
Which two are true? (Choose two.)
 

Option A

A.    The output is mm.
 

Option B

B.    The output is mc.
 

Option C

C.    Component is-a Meter.
 

Option D

D.    Component has-a Meter.
 

Option E

E.    DeluxeThingy is-a Component.
 

Option F

F.    DeluxeThingy has-a Component.
 

Correct Answer A,F
Explanation


Question ID 3848

Given:
10. interface Jumper { public void jump(); } ... 20. class Animal {} ...
30.    class Dog extends Animal {
31.    Tail tail; 32. } ...
40.    class Beagle extends Dog implements Jumper{
41.    public void jump() {}
42.    } ...
50.    class Cat implements Jumper{
51.    public void jump() {}
52.    }
Which three are true? (Choose three.)
 

 

Option A

A.    Cat is-a Animal

 

Option B

B.    Cat is-a Jumper
 

Option C

C.    Dog is-a Animal
 

Option D

D.    Dog is-a Jumper
 

Option E

E.    Cat has-a Animal
 

Option F

F.    Beagle has-a Tail

Correct Answer B,C,F
Explanation

Send email to admin@getfreedumps for new dumps request!!!