Update Demo.java

add print 'end'
Merge pull request #1 from jackysh1009/master

Update Demo.java