some demos of studying java