kinds of demos to show java basic