java demo for freshman