随笔分类 -  Java

摘要:class Point { double x; double y; Point() { x = 0; y = 0; } boolean samePlace(Point p) { return (x == p.x) && (y =... 阅读全文
posted @ 2015-09-30 12:31 whu.yt 阅读(139) 评论(0) 推荐(0)
摘要:1. Java Basic Structurepublic class Hello { public static void main(String[] args) { System.out.println("Hello World"); } ... 阅读全文
posted @ 2015-07-22 12:27 whu.yt 阅读(252) 评论(0) 推荐(0)
摘要:I/OSystem.out is a PrintStream object that outputs to the screen.System.in is a InputStream object that reads from the keyboard.InputStream objects (l... 阅读全文
posted @ 2015-07-22 10:32 whu.yt 阅读(136) 评论(0) 推荐(0)