java2s.com Example