via: http://www.programcreek.com/2013/09/top-8-diagrams-for-understanding-java/
1. String Immutability
The following diagram shows what happens for the following code:
String s = "abcd";
s = s.concat("ef");
2. The equals() and hashCode() Contract
HashCode is designed to improve performance. The contract between equals() and hasCode() is that:
1. If two objects are equal, then they must have the same hash code.
2. If two objects have the same hashcode, they may or may not be equal.
3. Java Exception Class Hierarchy
Red colored are checked exceptions which must either be caught or declared in the method’s throws clause.
4. Collections Class Hierarchy
Note the difference between Collections and Collection.
5. Java synchronization
Java synchronization mechanism can be illustrated by an analogy to a building.
6. Aliasing
Aliasing means there are multiple aliases to a location that can be updated, and these aliases have different types.
7. Stack and Heap
This diagram shows where methods and objects are in run-time memory.
8. JVM Run-Time Data Areas
This diagram shows overall JVM run-time data areas.
相关推荐
VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2,VMware_icons ,VMware_icons 图标资源
VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2
CityGML是一种用来表现城市三维对象的通用信息模型。它定义了城市中的大部分地理对象的分类及其之间的关系,而且充分地考虑了区域模型的几何、拓扑、语义、外观属性等。其中包括了主题分类之间的层次、聚合、对象...
This is a Questions & Answers book with 250+ questions and answers relating to core Java with lots of code snippets (100+), examples, and diagrams. Most Java interviews and technical challenges you ...
- TS 16949 Turtle Diagram for 26 processes - editable
Syntax Diagrams For SQLite参考手册,图形生动,有效的帮助理解SQLite!
SIEMEMS Circuit_Diagrams_EB200P_V10.pdf
Failure assessment diagrams for use in R6 assessments for austenitic components是对英国R6规范及其应用的解读
用matlab画出1931CIE标准色度图
Diagrams 是一款Mac上好用的流程图绘制工具,软件简单易用,可以快速的绘制出各种专业美观的流程图,支持中文界面,导出到图像或PDF格式,可用于可视化流程流程图软件架构设计、简化的UML图、用户界面流程、组织图表...
PPT_Library_VMware_icons-diagrams_Q409_COMM.pdf
VMW_10Q3_PPT_Library_VMware_icons_diagrams_R7_COMM_2_of_2.pdf
messy_diagrams
This course is intended for data scientists and Java developers who want to dive into the exciting world of deep learning. It will get you up and running quickly and provide you with the skills you ...
IEC 60617-2020国际标准Graphical symbols for diagrams IEC 60617 database snapshot created on 2020-12-01 Copyright 2020 IEC, Geneva, Switzerland. All rights reserved - Not for reproduction or ...
VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of 2.pdf
1. In a UML class diagram's representation of a class, the top, middle, and lower rectangular compartments respectively describe the _____ of the class. (a) name, attributes, and methods (b) name, ...
volume book shows how to design and implement web applications with a model-based engineering approach, using the two most relevant technology plat- forms for web development: JavaScript and Java....
With detailed examples and easy-to-understand diagrams, you'll learn the anatomy of a modular Java application. Along the way, you'll master best practices for designing with modules, debugging your ...
Real-World Objects to UML Diagrams and Java 9 via JShell Classes and Instances Encapsulation of Data Mutable and Immutable Classes Inheritance, Abstraction, Extension, and Specialization Members ...