Question: E WeightWatch #weight : double +name : String -score : int accessible : boolean +Weight Watch +Weight Watch(String) +getWeight( ): double +setWeight(double): +isAccessible(): boolean -calculateScore():


E WeightWatch #weight : double +name : String -score : int accessible : boolean +Weight Watch +Weight Watch(String) +getWeight( ): double +setWeight(double): +isAccessible(): boolean -calculateScore(): QUESTION 5 Read the detailed class diagram of WeightWatch in the attachment. Which of the following are names of methods of class WeightWatch? C weight getWeight accessible main setWeight score CO name calculateScore isAccessible QUESTION 6 Read the detailed class diagram of WeightWatch in the attachment. How many constructors does the class have? QUESTION 7 Read the detailed class diagram of WeightWatch in the attachment. What are the visibilities of the following members of the class? The visibility of name is of score is of accessible is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
