PrepAway - Latest Free Exam Questions & Answers

How should you call the Glass class implementation of the break() method?

You have a class named Glass that inherits from a base class named Window. The Window
class includes a protected method named break().
How should you call the Glass class implementation of the break() method?

PrepAway - Latest Free Exam Questions & Answers

A.
Window.break();

B.
Glass.break();

C.
this.break();

D.
base.break();

4 Comments on “How should you call the Glass class implementation of the break() method?


Leave a Reply