OCP Oracle Certified Professional Java SE 17 Developer Study Guide. Jeanne Boyarsky
Questions
22 Chapter 14: I/O Referencing Files and Directories Operating on File and Path Introducing I/O Streams Reading and Writing Files Serializing Data Interacting with Users Working with Advanced APIs Review of Key APIs Summary Exam Essentials Review Questions
23 Chapter 15: JDBC Introducing Relational Databases and SQL Introducing the Interfaces of JDBC Connecting to a Database Working with a PreparedStatement Getting Data from a ResultSet Calling a CallableStatement Controlling Data with Transactions Closing Database Resources Summary Exam Essentials Review Questions
24 Appendix: Answers to the Review Questions Chapter 1: Building Blocks Chapter 2: Operators Chapter 3: Making Decisions Chapter 4: Core APIs Chapter 5: Methods Chapter 6: Class Design Chapter 7: Beyond Classes Chapter 8: Lambdas and Functional Interfaces Chapter 9: Collections and Generics Chapter 10: Streams Chapter 11: Exceptions and Localization Chapter 12: Modules Chapter 13: Concurrency Chapter 14: I/O Chapter 15: JDBC
25 Index
List of Tables
1 IntroductionTABLE I.1 Exam information
2 Chapter 1TABLE 1.1 Setup procedure by operating systemTABLE 1.2 Important javac
optionsTABLE 1.3 Important java
optionsTABLE 1.4 Important jar
optionsTABLE 1.5 Order for declaring a classTABLE 1.6 Primitive typesTABLE 1.7 Wrapper classesTABLE 1.8 Text block formattingTABLE 1.9 Reserved wordsTABLE 1.10 Tracking scope by block
3 Chapter 2TABLE 2.1 Order of operator precedenceTABLE 2.2 Unary operatorsTABLE 2.3 Increment and decrement operatorsTABLE 2.4 Binary arithmetic operatorsTABLE 2.5 Simple assignment operatorTABLE 2.6 Compound assignment operatorsTABLE 2.7 Equality operatorsTABLE 2.8 Relational operatorsTABLE 2.9 Logical operatorsTABLE 2.10 Conditional operators
4 Chapter 3TABLE 3.1 Control statement usage
5 Chapter 4TABLE 4.1 Rules for indent()
and stripIndent()
TABLE 4.2 Common formatting symbolsTABLE 4.3 Binary search rulesTABLE 4.4 Arrays.compare()
examplesTABLE 4.5 Equality vs. comparison vs. mismatchTABLE 4.6 Methods in LocalDate
, LocalTime
, LocalDateTime
, and ZonedDateTime
...TABLE 4.7 Where to use Duration
and Period
6 Chapter 5TABLE 5.1 Parts of a method declaration in Figure 5.1TABLE 5.2 Optional specifiers for methodsTABLE 5.3 Optional specifiers for instance variablesTABLE 5.4 A method in ______ can access a ______ member.TABLE 5.5 Static vs. instance callsTABLE 5.6 The order that Java uses to choose the right overloaded method
7 Chapter 6TABLE 6.1 Class modifiers
8 Chapter 7TABLE 7.1 Interface member typesTABLE 7.2 Interface member accessTABLE 7.3 Usage of the permits
clause in sealed classesTABLE 7.4 Modifiers in nested classesTABLE 7.5 Nested class access rules
9 Chapter 8TABLE 8.1 Valid lambdas that return a boolean
TABLE 8.2 Invalid lambdas that should return a boolean
TABLE 8.3 Method referencesTABLE 8.4 Common functional