以下网址是他人的总结, 值得我们学习! 感谢这些人的技术总结!
http://blog.csdn.net/zsm653983/article/details/7562324
http://blog.csdn.net/pistolove/article/details/41453705
为什么引入泛型:
http://www.cnblogs.com/lwbqqyumidi/p/3837629.html
http://blog.csdn.net/lonelyroamer/article/details/7864531
java 深入学习
http://blog.csdn.net/luxia_24/article/details/48316815
http://blog.csdn.net/gemire/article/details/8172259
http://blog.csdn.net/yuebinghaoyuan/article/details/7244123 class
http://blog.csdn.net/centre10/article/details/6847981 object
http://blog.csdn.net/fenglibing/article/details/8905007
http://www.cnblogs.com/hqr9313/archive/2012/04/23/2467294.html
http://blog.csdn.net/eclipser1987/article/details/7275007
http://www.cnblogs.com/AaronCui/p/4911123.html
http://blog.csdn.net/kaoa000/article/details/8453371
http://blog.itpub.net/143526/viewspace-994734/
http://blog.csdn.net/crave_shy/article/details/42177287
JVM原理:
http://blog.csdn.net/witsmakemen/article/details/28600127/
Java类加载器:
http://wingtch.blog.163.com/blog/static/267350562014395105167/
tomcat: http://freeloda.blog.51cto.com/2033581/1298687/
http://blog.csdn.net/a_little_e/article/details/49126625
http://www.cnblogs.com/boblogsbo/p/5207205.html
http://blog.csdn.net/zxr1521904712/article/details/51165474
Java WebService : http://www.cnblogs.com/yisheng163/p/4524808.html
http://www.cnblogs.com/siqi/archive/2013/12/15/3475222.html
http://blog.csdn.net/hanxuemin12345/article/details/40163757
http://blog.csdn.net/apicescn/article/details/42965785
http://www.cnblogs.com/linjiqin/p/3208901.html
-------------------------------------------------------------------------
package package1;
public class testObject {
public static void main(String[] args) {
int a = 1;
int b = 1;
boolean b0 = true;
boolean b1 = false;
System.out.println("测试:a==b:"+(a==b));
System.out.println("测试:b0==b1:"+(b0==b1));
}
}
输出结果:
测试:a==b:true
测试:b0==b1:false
============================================
package package1;
public class testObject {
public static void main(String[] args) {
testObject to1 = new testObject();
testObject to2 = new testObject();
System.out.println(("to1==to2:")+(to1==to2));
}
}
输出结果:
to1==to2:false
解析:对象的内存首地址不同。
======================
package package1;
public class testObject {
public static void main(String[] args) {
testObject to1 = new testObject();
System.out.println( "to1:" + to1 );
System.out.println( "to1.toString():" + to1.toString() );
}
}
输出结果:
to1:package1.testObject@1909752
to1.toString():package1.testObject@1909752
===================================================
package package1;
public class testObject {
String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String toString(){
return "object name is:"+ name ;
}
public static void main(String[] args) {
testObject to1 = new testObject();
to1.setName("China");
System.out.println( "to1:" + to1 );
}
}
输出结果:
to1:object name is:China
============================================
package package1;
public class testObject {
public static void main(String[] args) {
String s0 = "HelloChina";
String s1 = new String("HelloChina");
System.out.println("s0==s1:" + ( s0 == s1 ));
}
}
输出结果:
s0==s1:false
====================================================================
---------------------------------------------------------------------------------------------------------------------
http://www.cnblogs.com/chinajava/p/5692463.html stream
http://blog.csdn.net/gdouchufu/article/details/29242933
Java大牛:
http://blog.csdn.net/yaoxtao/article/details/38518933/
http://coolshell.cn/ 陈皓的博客
http://blog.nosqlfan.com/ nosql的博客
http://ifeve.com/ java并发编程的
=============================================================
HashMap
package com;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
public class hashMapDemo {
public static void main(String[] args) {
HashMap hm = new HashMap();
hm.put("john", new Integer(96) );
hm.put("tom", new Integer(98) );
hm.put("magang", new Integer(100) );
System.out.println( "john is now balance:"+hm.get("john") );
Set set = hm.entrySet();
Iterator i = set.iterator();
while( i.hasNext() )
{
Map.Entry me = ( Map.Entry ) i.next();
System.out.print( me.getKey() +":" );
System.out.println( me.getValue() );
}
int balance = ( ( Integer) hm.get("john")).intValue();
hm.put("john", new Integer((int)(balance+1200)));
System.out.println( "john is new balance:"+hm.get("john") );
}
}
输出结果:
john is now balance:96
magang:100
tom:98
john:96
john is new balance:1296
============================================