Learning basics of java language