随笔分类 - Java
摘要:class Point { double x; double y; Point() { x = 0; y = 0; } boolean samePlace(Point p) { return (x == p.x) && (y =...
阅读全文
摘要:1. Java Basic Structurepublic class Hello { public static void main(String[] args) { System.out.println("Hello World"); } ...
阅读全文
摘要: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...
阅读全文

浙公网安备 33010602011771号