I had modified some java programs at work, but I have never designed a java program.
So I wanted to confirm my class design.
In darts game, one dart points a number and a multiple. Then I designed "Dart class" for scoring one dart.
Now Dart class works well and it makes displaying scores easy.