12 2014 档案

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

点击右上角即可分享
微信分享提示