SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The Circle class drawn with UML says the “+isVisible()” behavior is:
|
protected
|
|
private
|
|
public
|
|
inherit
|
Explanation:
Detailed explanation-1: -Interface Notation Interface is represented by a circle as shown in the following figure. It has a name which is generally written below the circle. Interface is used to describe the functionality without implementation. Interface is just like a template where you define different functions, not the implementation.
Detailed explanation-2: -UML identifies four types of visibility: public, protected, private, and package.
There is 1 question to complete.