Fix java problem 48
Fix java problem 017 output