转自:http://www.programcreek.com/2013/09/top-8-diagrams-for-understanding-java/
A diagram is sometimes worth 1000 words. The following diagrams are from Java tutorials on Program Creek, they have received the most votes so far. Hopefully, they can help you review what you already know. If the problem is not clear by the diagram itself, you may want to go to each article to take a further took.
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.
相关推荐
Syntax Diagrams For SQLite参考手册,图形生动,有效的帮助理解SQLite!
Failure assessment diagrams for use in R6 assessments for austenitic components是对英国R6规范及其应用的解读
Diagrams 是一款Mac上好用的流程图绘制工具,软件简单易用,可以快速的绘制出各种专业美观的流程图,支持中文界面,导出到图像或PDF格式,可用于可视化流程流程图软件架构设计、简化的UML图、用户界面流程、组织图表...
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 ...
该文档描述了如何使用activity diagram描述process view
"Bayesian Networks and Influence Diagrams: A Guide to Construction and Analysis" provides a comprehensive guide for practitioners who wish to understand, construct, and analyze intelligent systems ...
- TS 16949 Turtle Diagram for 26 processes - editable
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 ...
Architecture Diagrams - VMware Validated Design for SDDC 5.1.x.vsdx
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 ...
IEC 60617-DB-2020-DATABASE SNAPSHOT Graphical symbols for diagrams
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 ...
第一章 针对 Java 程序员的 UML 概述............................................................................... 8 各种类型的图..........................................................................
Artificial Neural Networks with Java also teaches you how to prepare the data to be used in neural network development and suggests various techniques of data preparation for many unconventional ...
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 ...
Chapter 14 - Modeling Diagrams for OO Programs Chapter 15 - Extending Classes Chapter 16 - Multiple Inheritance in C++ Chapter 17 - OO for Graphical User Interfaces, A Tour of Three Toolkits Chapter ...
IEEE 电气原理图形符号标准 Graphic Symbols for Electrical and Electronics Diagrams
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....
Beginning Java 9 Fundamentals provides over 90 diagrams and 240 complete programs to help you learn the topics faster. The book continues with a series of foundation topics, including using data ...
H8S/2168Group I/O Port Block DiagramsH8S/2168Group I/O Port Block DiagramsH8S/2168Group I/O Port Block Diagrams