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

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.
主站蜘蛛池模板: 桐柏县| 进贤县| 太白县| 读书| 南开区| 板桥市| 天祝| 夹江县| 仪征市| 左贡县| 开江县| 锦州市| 阜平县| 简阳市| 乌拉特前旗| 怀柔区| 永康市| 兰州市| 勃利县| 纳雍县| 金溪县| 堆龙德庆县| 崇左市| 巴里| 什邡市| 崇明县| 小金县| 娱乐| 义乌市| 福安市| 诸城市| 大名县| 新沂市| 禄劝| 三江| 天镇县| 和田市| 白玉县| 井冈山市| 顺昌县| 浦江县|