Question: Which is not a true statement given this diagram? Assume all classes are public. A. Instance methods in the Blanket class can call the Flashlight

Which is not a true statement given this diagram? Assume all classes are public.
com.light Flashlight private replaceBulb () public turnon () Phone protected display() public

A. Instance methods in the Blanket class can call the Flashlight class’s turnOn().

B. Instance methods in the Flashlight class can call the Flashlight class’s replaceBulb().

C. Instance methods in the Phone class can call the Blanket class’s wash().

D. Instance methods in the Tent class can call the Tent class’s pitch().

E. None of the above.

com.light Flashlight private replaceBulb () public turnon () Phone protected display() public charge () com.dark Blanket wash () Tent private pitch() public goCamping ()

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

From the information provided in the diagram we can analyze each statement A Instance methods in the ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!