官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The PUT request is used to create or update an entity on a server, using a URI."

A block of code is set as follows:

class GarmentFactory { 
void createShirts() {
Shirt redShirtS = new Shirt(Size.SMALL, Color.red);

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

abstract record JVMLanguage(String name, int year); 
record Conference(String name, String venue, DateTime when);

Any command-line input or output is written as follows:

  java -Xshare:dump   

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "As you will notice, the Lock Instances option displays an exclamation mark right next to it."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 丰宁| 南丹县| 古浪县| 金秀| 娱乐| 临颍县| 黑山县| 综艺| 福泉市| 田阳县| 郸城县| 政和县| 乌海市| 喜德县| 嘉义市| 额济纳旗| 肃南| 曲麻莱县| 曲水县| 从江县| 罗山县| 颍上县| 张家川| 琼中| 翁源县| 芜湖市| 隆子县| 兴化市| 普安县| 凤阳县| 思茅市| 分宜县| 西林县| 乌鲁木齐县| 宁明县| 多伦县| 项城市| 兴仁县| 平陆县| 桂阳县| 南雄市|