12 2014 档案
摘要:1.method header: modifier, return value type, method signature(method name, parameter)method body2.value-returning methodvoid methodmethod overloading...
阅读全文
摘要:1 think before codingcode incrementally2sentinel valuesentinel-controlled loop3 输入输出重定向 > = 1;i--){ sum += 1d/i; }System.out.println(sum);//11.3970039...
阅读全文
摘要:1单向if语句双向if语句dangling elseswitch:char,byte,short,int2javax.swing.JOptionPane.showConfirmDialog(null,text);返回值:JOptionPane.YES_OPTION:0JOptionPane.NO_O...
阅读全文
摘要:1原始数据类型(primitive data type) == 基本类型 (fundamental type)byte short int long float double char boolean引用类型 reference type2System.in System.outjava.util....
阅读全文
摘要:java语言程序设计基础篇笔记1. 几种有名的语言COBOL:商业应用FORTRAN:数学运算BASIC:易学易用Visual Basic,Delphi:图形用户界面C:汇编语言的强大功能和易学性,可移植性C++:系统软件C#:.netjava:互联网应用程序2. java语言规范:java.sun...
阅读全文