Update B.java

added a line
Merge pull request #2 from irhspur/patch-1

Update B.java