7.1
int[][] triArray{
{1},
{1,2},
{1,2,3},
};
7.2
array[2].length 8.1
Unified Modeling Language:UML
UML class diagram
Circle
_____________
radius:double
_____________
+Circle()
+Circle(newRadius:double)
getArea():double circle1:Circle
_________
radius = 19 8.2
client
8.3
reference variable
ClassName objectRefVar;
null
NullPointerException
8.4
object member access operator:.
instance variable
instance method
static variable:class variable
static method getter:accessor
setter:mutator pass by value calling object
8.5
java.util.Date
+Date()
+Date(elapseTime:long) +toString():String
+getTime():long +setTime(elapseTime: long)void
8.6
java.util.Random
+Random()
+Random(seed:long)
+nextInt():int
+nextInt(n:int):int
+nextLong():long
+nextDouble():double
+nextFloat():float
+nextBoolean():boolean
//Random random1 = new Random(3)
8.7
javax.swing.JFrame
Jframe frame1 = new JFrame();
frame1.setTitle("Window 1");
frame1.setSize(200,150);
frame1.setLocation(200,100);
frame1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame1.setVisible(true);
JButton jbtOK = new JButton("OK");
JLabel jlblName = new JLabel("Enter your name: ");
JTextField jtfName = new JTextField("Type in here");
JCheckBox jchkBold = new JCheckBox("B");
JRadioButton jrbRed = new JRadioButton("Red");
JComboBox jcboColor = new JComboBox(new String[]{"freshman","sophomore","junior","senior"});
JPanel panel = new JPanel();
panel.add(jbtOK);
8.8
Math.PI
8.9
package-private:package-access
private:类的成员
public:类 Keyword:
accessor method:getter method
action
attribute
behavior
class
client
constructor
data field
date-field encapsulation
default constructor
dot operator:object access operator
instance
instance method
instance variable
instantiation
mutator method:setter
null
no-arg constructor
object-oriented programming:OOP
Unified Modeling Language:UML
package-private:package-access
private
property
public
reference variable
reference type
state
static variable
static method

  

最新文章

  1. java 性能优化:35 个小细节,让你提升 java 代码的运行效率
  2. C++迟后联编和虚函数表
  3. (gridcontrol等)通用导出excel z
  4. net.sf.json 时间格式的转化
  5. python reduce()函数
  6. Android中GridView拖拽的效果【android进化三十六】
  7. hello, angular
  8. 浏览器中 for in 反射 对象成员 的差异
  9. 编写自己的C头文件
  10. gui小日历
  11. Hadoop实践
  12. 笨方法学python--第一个程序
  13. oracle内存优化
  14. 如何购买并配置linux服务器上的数据库
  15. Codeforces Round #527 (Div. 3) . F Tree with Maximum Cost
  16. 从Java的角度简单修复Cookie越权漏洞
  17. JS 数组常用的方法
  18. ViewController之间的转场和数据传递
  19. Linux 套接字与文件描述符
  20. mysql允许远程登录

热门文章

  1. BZOJ 5427: 最长上升子序列
  2. playbook管理配置文件
  3. Django学习笔记之Django Form表单详解
  4. Yahoo网站性能优化的34条规则
  5. golang中文字符编码转换
  6. 《学习OpenCV3》目录和全书划分
  7. 20145327 《Java程序设计》第八周学习总结
  8. testng基础知识:注解的执行顺序
  9. django中的分页设置
  10. 简单搭建FastDFS分布式文件系统(简单易懂)