Create java code

java code first part coding