JavaTPԇ}
СJavaTPԇ}Ҳyy}Ŀ
1HashMapHashtableą^e
MapӿڵFˌΩһIӳ䵽ضֵHashMap ]зSһnull IͶnull ֵHashtable HashMap,DzSnull Inull ֵҲHashMap ͬģǾ̰ȫ
2sleep() wait() ʲô^e?
sleepǾ(Thread)ķ´˾ָͣ̕rgoЙCoDZOؠBȻ֣rԄӻ֏{sleepጷŌiwaitObjectķˌ{wait±̷ŗiMȴˌĵȴiֻᘌˌlnotify(notifyAll)̲M댦iʂ@ÌiM\РB
3Collection Collectionsą^e
Collectionsǂjava.utilµиNPϲoB
Collectionǂjava.utilµĽӿǸNϽYĸӿ
4ʲôrassert.
assertion()ܛ_lһNõ{ԇʽܶ_lZж֧@NCڌFУassertionڳеһlZһboolean_ʽMЙzһ_횱C@boolean_ʽֵtrue;ԓֵfalse,fѽ̎ڲ_ĠBϵyo˳һfassertionڱCPI`_ԡassertionzͨ_l͜yԇr_ܛlassertionzͨP]
5&&&ą^e
& ǃɂcλ\&&Dz߉\BӃɂl_ʽɂl_ʽrŞ
6ՄՄfinal, finally, finalizeą^e
final:(PI)һfinal,ζµ鸸^һܼȱabstractֱfinal׃final,ԱCʹв׃final׃roֵԺֻxȡġfinalķҲֻͬʹd
finally:ڮ̎rṩfinally Kκһôƥcatch Ӿ͕Ȼƾ͕Mfinally K(еԒ)
finalize:Java gSʹfinalize() ռăȴȥ֮ǰҪ@ռڴ_@]бÕr@{õġObject жxе^wfinalize() ϵyYԴ߈finalize() ռh֮ǰ@{õ
7Anonymous Inner Class (Ȳ) Ƿextends(^)Ƿimplements(F)interface(ӿ)?
ăȲǛ]ֵăȲ^һȲһӿһȲF
8Math.round(11.5)춶? Math.round(-11.5)춶?
Math.round(11.5)(long)12,Math.round(-11.5)(long)-11;鷵ӽlong.ͨ^1/2 ԓYȡYĻ䏊DQlong QԒfY±_ʽֵ(long)Math.floor(a + 0.5d)
9Static Nested Class Inner ClassIJͬfԽԽ(ԇ}еĺܻ\y)
Static nested class(Ƕ)njȲstatic.ͨȲ[ʽرһãָstaticstaticֶǶζ1> ҪǶČҪČ;2>ǶČLoBČ
10ArrayListVectorą^e
1>ͬԣVectorǾ̰ȫҲfͬArrayListǾȫͬ2>LҪLrVectorĬJLԭһArrayListsԭһ
JavaTPԇ}P£
javaTԇPԇԇ}03-11
javaTIҎ07-02
javaӢԇPԇ}03-19
javaԇPԇ}03-11
2017javaPԇ}02-18
2017ӋԇPԇԇ}02-22
ЇMyԇPԇ֪RR03-07
tԺԇPԇԇo}8007-05
tԺԇPԇԇo}R04-01
2017javaиPԇԇ}02-22