added sample.java
Merge pull request #1 from chiranjeevivc/development

added sample.java