Hi Sorry to tell you, but first start with basics of the java.
There are lot basic things missed in you code.