Read this chart eight, you learn java is half the battle!

1. String invariance
following diagram shows what happens following code:
String = S "ABCD";
S = S. concat ( "EF"); Read this chart eight, you learn java is half the battle!
2. the equals () and hashCode () contract
HashCode designed to improve performance. agreement between () the equals () and hasCode is:
1. If two objects are equal, they must have the same hash code.
2. If the two objects have the same hash code, they may be equal or may not be equal. Read this chart eight, you learn java is half the battle!
3. Java exception class hierarchy
red is a checked exception must be caught or declared in the throws clause of the method. Read this chart eight, you learn java is half the battle!
4. collection class hierarchy
Note the difference between the set and set. Read this chart eight, you learn java is half the battle!Read this chart eight, you learn java is half the battle!
5. Java synchronization
Java synchronization mechanism can be illustrated by analogy. Read this chart eight, you learn java is half the battle!
6. aliasing
alias aliases means may update a plurality of positions, and different types of these aliases. Read this chart eight, you learn java is half the battle!
Stack and heap 7.
This figure shows the location of the object in memory and a method at runtime. Read this chart eight, you learn java is half the battle!
8. The JVM runtime data area
which shows the entire JVM runtime data area. Read this chart eight, you learn java is half the battle!
Finally, the development of so many years I have summarized the data and interview questions a learning Java, if you want to upgrade their technology above, you can follow me, private letters sent to receive information or comments area to leave their contact details, time remember to help me make the point under forward with more people see Oh.

Guess you like

Origin blog.51cto.com/14606566/2466203