JAVA 开发

1、JAVA开发基本术语:

[img]http://dl.iteye.com/upload/attachment/0075/7195/4e0d0eaa-8bea-30f6-9720-3da3f500618d.png[/img]

2、配置Java环境变量:
Windows:
变量名:JAVA_HOME
变量值:C:\Program Files\Java\jdk1.7.0
变量名:CLASSPATH
变量值:.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
变量名:Path
变量值:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

Unix系统:
csh: 添加以下三行命令到 $HOME/.cshrc文件中
setenv JAVA_HOME /usr/java...
setenv PATH $JAVA_HOME/bin:...
setenv CLASSPATH .

bsh/ksh:添加以下三行命令到 $HOME/.profile文件中
JAVA_HOME=/usr/java
PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=.
export JAVA_HOME PATH CLASSPATH

3、JAVA程序运行机制
JAVA两种核心机制:
JAVA虚拟机(JAVA Virtual Machine)
垃圾回收机制(Grabage collection)


[img]http://dl.iteye.com/upload/attachment/0075/7205/c5e533a8-c100-34a6-936f-642ef3e4a82d.png[/img]

4、程序执行过程:

[img]http://dl.iteye.com/upload/attachment/0075/7213/4758ed96-ebd1-3769-b4d8-5d2cb51d7532.png[/img]

5、JAVA数据类型的划分:

[img]http://dl.iteye.com/upload/attachment/0075/7217/bbeb46e1-8665-3854-b929-407f98a8b522.png[/img]

6、整数类型:

[img]http://dl.iteye.com/upload/attachment/0075/7219/604ed494-816d-30f4-b368-b6ce55d0f927.png[/img]

7、浮点类型:


[img]http://dl.iteye.com/upload/attachment/0075/7221/2c3ffef7-3018-36e3-bbe5-aa000d17073f.png[/img]

8、switch语句:

[img]http://dl.iteye.com/upload/attachment/0075/7225/e5d9bde9-fbfc-3cc8-b00d-dc7e12ad4a87.png[/img]

9、JAVA面向对象基本概念-引用

[img]http://dl.iteye.com/upload/attachment/0075/7230/14a511a1-26d1-3885-aa0c-854372775872.png[/img]

10、对象的创建和使用

[img]http://dl.iteye.com/upload/attachment/0075/7236/4c59daea-9c52-3039-98af-8faad3f5c6ba.png[/img]

11、调用过程的演示:


[img]http://dl.iteye.com/upload/attachment/0075/7240/4d46840a-a4c0-37c7-a8d4-aa88009077e4.png[/img]


[img]http://dl.iteye.com/upload/attachment/0075/7243/d92a7b4d-568d-373b-acdd-b326147ba441.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7245/f3a78601-e975-3525-a0fb-341f811c1554.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7247/2ab4f473-2a6a-354b-8c04-51967677a0ed.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7251/b12999be-34de-378f-81d6-137f366e43e9.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7249/66cf19bf-d147-3315-8a18-ef78beec6289.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7253/82c3e9d4-d9fa-3af3-9d10-dc2c8e239775.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7254/9f3d20c0-39df-383b-a490-0464babcde47.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7257/e22422c4-25e5-3771-8444-7268e42cfdc0.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7259/4396712f-20e7-3995-916d-28df05240052.png[/img]

12、访问控制

[img]http://dl.iteye.com/upload/attachment/0075/7265/ba9ce630-7648-3db8-820d-6df2668254b6.png[/img]

13、继承中的构造方法

[img]http://dl.iteye.com/upload/attachment/0075/7269/397637a7-3ad6-3463-92f5-e21d9e20c706.png[/img]

14、equals方法

[img]http://dl.iteye.com/upload/attachment/0075/7273/88ed4fe2-f67c-3916-b088-28bbd907fda2.png[/img]

15、对象转换:

[img]http://dl.iteye.com/upload/attachment/0075/7277/487deab0-75d9-34c6-aad8-c902698139ca.png[/img]

16、对象转换实例


[img]http://dl.iteye.com/upload/attachment/0075/7281/8b77b1fa-68a8-3094-ab02-22a6beee2c7d.png[/img]

[img]http://dl.iteye.com/upload/attachment/0075/7283/82caae1d-cd00-3761-b852-86196cdf11c1.png[/img]

17、动态绑定和多态

[img]http://dl.iteye.com/upload/attachment/0075/7287/047aa45c-6f4d-3366-bb37-1c5b1617c49e.png[/img]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值