+ 1

How implement this?

Implement a class called “Tool”. It should have an int field called strength and a char field called type. You may make them either private or protected. The Tool class should also contain the function void setStrength(int), which sets the strength for the Tool. Create 3 more classes called Rock, Paper, and Scissors, which inherit from Tool. Each of these classes will need a constructor which will take in an int that is used to initialize the strength field. The constructor should also initialize t

12th Sep 2017, 8:38 AM
H. Kobir
H. Kobir - avatar
8 Respuestas
+ 1
I didn't expect this solution.... sololearn course content I knew perfectly... 😊
12th Sep 2017, 8:59 AM
H. Kobir
H. Kobir - avatar
+ 1
sorry for something else.. my question also added more,,,, but sololearn couldn't cover all.......
12th Sep 2017, 12:15 PM
H. Kobir
H. Kobir - avatar
+ 1
Im pretty sure all that was covered here but are you just posting your homework? :/
12th Sep 2017, 1:30 PM
Enzo
Enzo - avatar
12th Sep 2017, 12:21 PM
H. Kobir
H. Kobir - avatar
0
👍
12th Sep 2017, 3:57 PM
H. Kobir
H. Kobir - avatar
0
Why did u ate my mcdonalds?Its was mine
28th Dec 2017, 2:47 PM
Михаил Иванов
Михаил Иванов - avatar
0
sorry I didn't understand your speech...
28th Dec 2017, 6:30 PM
H. Kobir
H. Kobir - avatar
0
Dont make excuses,double cheeseburger and big cola cant be returned
28th Dec 2017, 8:03 PM
Михаил Иванов
Михаил Иванов - avatar