OCP 17 829 Objective | OCP 17 829 Text | Java 11 Objective | |
Handing date, time, text, numeric and boolean values | |||
1.1 | Use primitives and wrapper classes including Math API, parentheses, type promotion, and casting to evaluate arithmetic and boolean expressions | 1.1+ new Math | |
1.2 | Manipulate text, including text blocks, using String and StringBuilder classes | 1.2 + new text blocks | |
1.3 | Manipulate date, time, duration, period, instant and time-zone objects using Date-Time API | new (was on Java 8) | |
Controlling Program Flow | |||
2.1 | Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements | 2.1 + new switch expressions | |
Utilizing Java Object-Oriented Approach | |||
3.1 | Declare and instantiate Java objects including nested class objects, and explain the object life-cycle including creation, reassigning references, and garbage collection | 3.1 | |
3.2 | Create classes and records, and define and use instance and static fields and methods, constructors, and instance and static initializers | 3.2 + new records | |
3.3 | Implement overloading, including var-arg methods | 3.2 | |
3.4 | Understand variable scopes, apply encapsulation, and make objects immutable. Use local variable type inference, including using it to define lambda parameters | 3.4 | |
3.5 | Implement inheritance, including abstract and sealed classes. Override methods, including that of an Object class. Utilize polymorphism and type casting, and differentiate object type versus reference type. Identify object types using instanceof operator and pattern matching | 3.X (various) + new sealed classes, pattern matching | |
3.6 | Create and use interfaces, identify functional interfaces, and utilize private, static, and default interface methods | 3.7 | |
3.7 | Create and use enumerations with fields, methods and constructors | 3.8 | |
Handling Exceptions | |||
4.1 | Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks, including custom exceptions | 4.1, 4.2 | |
Working with Arrays and Collections | |||
5.1 | Create Java arrays, List, Set, Map and Deque collections, and produce, remove, update, retrieve and sort their elements | 5.1, 5.2, 5.3 | |
Working with Streams and Lambda expressions | |||
6.1 | Use Java object and primitive Streams, including lambda expressions implementing functional interfaces, to produce, filter, transform, consume, and sort data | 6.1, 6.2 | |
6.2 | Perform decomposition, concatenation and reduction, and grouping and partitioning on sequential and parallel streams | 6.3 | |
Package and deploy Java code and use the Java Platform Module System | |||
7.1 | Define modules and expose module content including through the use of reflection, and declare module dependencies, define services, providers and consumers | 7.1, 7.2 | |
7.2 | Compile Java code, produce modular and non-modular jars, runtime images, and implement migration using unnamed and automatic modules | 7.1, 7.2 + new creating images | |
Manage concurrent code execution | |||
8.1 | Create worker threads using Runnable and Callable, manage the thread lifecycle, including automations provided by different Executor services and concurrent API | 8.1 | |
8.2 | Develop thread-safe code, using different locking mechanisms and concurrent API | 8.2 | |
8.3 | Process Java collections concurrently and utilise parallel streams. | 8.1, 8.2 | |
Use Java I/O API | |||
9.1 | Read and write console and file data using I/O Streams | 9.1 | |
9.2 | Serialize and de-serialize Java objects | 9.2 | |
9.3 | Construct, traverse, create, read, and write Path objects and their properties using java.nio.file API | 9.3 | |
Access databases using JDBC | |||
10.1 | Create connections, create and execute basic, prepared and callable statements, process query results and control transactions using JDBC API | 11.1 + new transactions | |
Implement Localization | |||
11.1 | Implement localization using locales, resource bundles, parse and format messages, dates, times, and numbers including currency and percentage values | 13.1 | |
OCP 11 819 Objective | OCP 11 819 Text | Java 17 Objective | |
Working with Java data types | |||
1.1 | Use primitives and wrapper classes, including, operators, parentheses, type promotion and casting | 1.1 | |
1.2 | Handle text using String and StringBuilder classes | 1.2 | |
1.3 | Use local variable type inference, including as lambda parameters | 3.4 | |
Controlling Program Flow | |||
2.1 | Create and use loops, if/else, and switch statements | 2.1 | |
Java Object-Oriented Approach | |||
3.1 | Declare and instantiate Java objects including nested class objects, and explain objects' lifecycles (including creation, dereferencing by reassignment, and garbage collection) | 3.1 | |
3.2 | Define and use fields and methods, including instance, static and overloaded methods | 3.2 | |
3.3 | Initialize objects and their members using instance and static initialiser statements and constructors | 3.2 | |
3.4 | Understand variable scopes, apply encapsulation and make objects immutable | 3.x (various) | |
3.5 | Create and use subclasses and superclasses, including abstract classes | 3.x (various) | |
3.6 | Utilize polymorphism and casting to call methods, differentiate object type versus reference type | 3.x (various) | |
3.7 | Create and use interfaces, identify functional interfaces, and utilize private, static, and default methods | 3.6 | |
3.8 | Create and use enumerations | 3.7 | |
Exception Handling | |||
4.1 | Handle exceptions using try/catch/finally clauses, try-with-resource, and multi-catch statements | 4.1 | |
4.2 | Create and use custom exceptions | 4.2 | |
Working with Arrays and Collections | |||
5.1 | Use generics, including wildcards | 5.1 | |
5.2 | Use a Java array and List, Set, Map and Deque collections, including convenience methods | 5.1 | |
5.3 | Sort collections and arrays using Comparator and Comparable interfaces | 5.1 | |
Working with Streams and Lambda expressions | |||
6.1 | Implement functional interfaces using lambda expressions, including interfaces from the java.util.function package | 6.1 | |
6.2 | Use Java Streams to filter, transform and process data | 6.1 | |
6.3 | Perform decomposition and reduction, including grouping and partitioning on sequential and parallel streams | 6.2 | |
Java Platform Module System | |||
7.1 | Deploy and execute modular applications, including automatic modules | 7.1, 7.2 | |
7.2 | Declare, use, and expose modules, including the use of services | 7.1, 7.2 | |
Concurrency | |||
8.1 | Create worker threads using Runnable and Callable, and manage concurrency using an ExecutorService and java.util.concurrent API | 8.1, 8.3 | |
8.2 | Develop thread-safe code, using different locking mechanisms and java.util.concurrent API | 8.2, 8.3 | |
Java I/O API | |||
9.1 | Read and write console and file data using I/O Streams | 9.1 | |
9.2 | Implement serialization and deserialization techniques on Java objects | 9.2 | |
9.3 | Handle file system objects using java.nio.file API | 9.3 | |
Secure Coding in Java SE Application | |||
10.1 | Develop code that mitigates security threats such as denial of service, code injection, input validation and ensure data integrity | removed from exam | |
10.2 | Secure resource access including filesystems, manage policies and execute privileged code | removed from exam | |
Database Applications with JDBC | |||
11.1 | Connect to and perform database SQL operations, process query results using JDBC API | 10.1 | |
Annotations | |||
12.1 | Create, apply, and process annotations | removed from exam | |
Localization | |||
13.1 | Implement Localization using Locale, resource bundles, and Java APIs to parse and format messages, dates, and numbers | 11.1 |
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
RTFJD (the JavaDocs are your friends!) If you haven't read them in a long time, then RRTFJD (they might have changed!)
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:Yes. And more. I was discussing whole new topics. We added those methods and other new ones like Collectors.teeing() in the book
CISSP, CCSP, CSSLP, SSCP, CASP+, Security+, OCP Java 17 Developer | https://bjdelacruz.dev
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |