Читать книгу OCP Oracle Certified Professional Java SE 17 Developer Study Guide - Jeanne Boyarsky - Страница 4
List of Illustrations
Оглавление1 Chapter 1FIGURE 1.1 Compiling with packagesFIGURE 1.2 Compiling with packages and directoriesFIGURE 1.3 Text blockFIGURE 1.4 Your drawing after line 5FIGURE 1.5 Your drawing after line 7
2 Chapter 2FIGURE 2.1 Java operationFIGURE 2.2 The logical truth tables for
&,|, and^3 Chapter 3FIGURE 3.1 The structure of an
ifstatementFIGURE 3.2 The structure of anelsestatementFIGURE 3.3 The structure of aswitchstatementFIGURE 3.4 The structure of aswitchexpressionFIGURE 3.5 The structure of awhilestatementFIGURE 3.6 The structure of ado/whilestatementFIGURE 3.7 The structure of a basicforloopFIGURE 3.8 The structure of an enhanced for-each loopFIGURE 3.9 The structure of abreakstatementFIGURE 3.10 The structure of acontinuestatement4 Chapter 4FIGURE 4.1 Indexing for a stringFIGURE 4.2 Indexes for a substringFIGURE 4.3 The basic structure of an arrayFIGURE 4.4 An empty arrayFIGURE 4.5 An initialized arrayFIGURE 4.6 An array pointing to stringsFIGURE 4.7 A sparsely populated multidimensional arrayFIGURE 4.8 An asymmetric multidimensional arrayFIGURE 4.9 Period formatFIGURE 4.10 How daylight saving time works
5 Chapter 5FIGURE 5.1 Method declarationFIGURE 5.2 Classes used to show
privateand package accessFIGURE 5.3 Classes used to show protected accessFIGURE 5.4 Copying a reference with pass-by-value6 Chapter 6FIGURE 6.1 Subclass and superclass declarationsFIGURE 6.2 Types of inheritanceFIGURE 6.3 Java object inheritance
7 Chapter 7FIGURE 7.1 Defining an interfaceFIGURE 7.2 Implementing an interfaceFIGURE 7.3 Interface InheritanceFIGURE 7.4 Defining a simple enumFIGURE 7.5 Defining a sealed classFIGURE 7.6 Defining a recordFIGURE 7.7 Declaring a compact constructorFIGURE 7.8 Object vs. reference
8 Chapter 8FIGURE 8.1 Lambda syntax omitting optional partsFIGURE 8.2 Lambda syntax including optional parts
9 Chapter 9FIGURE 9.1 Java Collections FrameworkFIGURE 9.2 Example of a
ListFIGURE 9.3 Example of aSetFIGURE 9.4 Examples of aHashSetandTreeSetFIGURE 9.5 Example of aDequeFIGURE 9.6 Working with aDequeFIGURE 9.7 Working with a stackFIGURE 9.8 Example of aMap10 Chapter 10FIGURE 10.1
OptionalFIGURE 10.2 Stream pipelineFIGURE 10.3 Steps in running a stream pipelineFIGURE 10.4 A stream pipeline with a limitFIGURE 10.5 Stream pipeline with multiple intermediate operations11 Chapter 11FIGURE 11.1 Categories of exceptionFIGURE 11.2 The syntax of a
trystatementFIGURE 11.3 The syntax of a multi-catch blockFIGURE 11.4 The syntax of atrystatement withfinallyFIGURE 11.5 The syntax of a basic try-with-resources statementFIGURE 11.6Localeformats12 Chapter 12FIGURE 12.1 Design of a modular systemFIGURE 12.2 Looking inside a moduleFIGURE 12.3 Contents of
zoo.animal.feedingFIGURE 12.4 Modulezoo.animal.feedingdirectory structureFIGURE 12.5 Running a module usingjavaFIGURE 12.6 Modules depending onzoo.animal.feedingFIGURE 12.7 Contents ofzoo.animal.careFIGURE 12.8 Dependencies forzoo.animal.talksFIGURE 12.9 Contents ofzoo.animal.talksFIGURE 12.10 Contents ofzoo.staffFIGURE 12.11 Dependencies forzoo.staffFIGURE 12.12 Transitive dependency version of our modulesFIGURE 12.13 Modules in the tour applicationFIGURE 12.14 Determining the orderFIGURE 12.15 Determining the order when not uniqueFIGURE 12.16 Bottom-up migrationFIGURE 12.17 Top-down migrationFIGURE 12.18 First attempt at decompositionFIGURE 12.19 Removing the cyclic dependencies13 Chapter 13FIGURE 13.1 Process modelFIGURE 13.2 Thread statesFIGURE 13.3
ExecutorServicelife cycleFIGURE 13.4 Lack of thread synchronizationFIGURE 13.5 Thread synchronization using atomic operationsFIGURE 13.6 Race condition on user creation14 Chapter 14FIGURE 14.1 Directory and file hierarchyFIGURE 14.2 Relative paths using path symbolsFIGURE 14.3 I/O and NIO.2 class and interface relationshipsFIGURE 14.4 Comparing file uniquenessFIGURE 14.5 Visual representation of an I/O streamFIGURE 14.6 Serialization processFIGURE 14.7 File system with cycleFIGURE 14.8 Diagram of I/O stream classes
15 Chapter 15FIGURE 15.1 Tables in our relational databaseFIGURE 15.2 Key JDBC interfacesFIGURE 15.3 The JDBC URL formatFIGURE 15.4 Types of statementsFIGURE 15.5 The
ResultSetcursor