sample core java