Muutke küpsiste eelistusi

E-raamat: OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide - Exam 1Z0-815: Exam 1Z0-815 2nd Edition [Wiley Online]

(Selikoff Solutions, LLC), (CodeRanch)
  • Formaat: 608 pages
  • Ilmumisaeg: 26-Dec-2019
  • Kirjastus: Sybex Inc.,U.S.
  • ISBN-10: 1119584779
  • ISBN-13: 9781119584773
  • Wiley Online
  • Hind: 63,44 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Formaat: 608 pages
  • Ilmumisaeg: 26-Dec-2019
  • Kirjastus: Sybex Inc.,U.S.
  • ISBN-10: 1119584779
  • ISBN-13: 9781119584773
This OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and the Programmer II Study Guide: Exam 1Z0-816  were published before Oracle announced major changes to its OCP certification program and the release of the new Developer 1Z0-819 exam.

No matter the changes, rest assured both of the Programmer I and II Study Guides cover everything you need to prepare for and take Exam 1Z0-819. If youve purchased one of the Programmer Study Guides, purchase the other one and youll  be all set.

NOTE: The OCP Java SE 11 Programmer I Exam 1Z0-815 and Programmer II Exam 1Z0-816 have been retired (as of October 1, 2020), and Oracle has released a new Developer Exam 1Z0-819 to replace the previous exams. The Upgrade Exam 1Z0-817 remains the same.





The comprehensive study aide for those preparing for the new Oracle Certified Professional Java SE Programmer I Exam 1Z0-815

Used primarily in mobile and desktop application development, Java is a platform-independent, object-oriented programming language. It is the principal language used in Android application development as well as a popular language for client-side cloud applications. Oracle has updated its Java Programmer certification tracks for Oracle Certified Professional. 

OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide covers 100% of the exam objectives, ensuring that you are thoroughly prepared for this challenging certification exam. This comprehensive, in-depth study guide helps you develop the functional-programming knowledge required to pass the exam and earn certification. All vital topics are covered, including Java building blocks, operators and loops, String and StringBuilder, Array and ArrayList, and more. Included is access to Sybex's superior online interactive learning environment and test bankcontaining self-assessment tests, chapter tests, bonus practice exam questions, electronic flashcards, and a searchable glossary of important terms. This indispensable guide:





Clarifies complex material and strengthens your comprehension and retention of key topics Covers all exam objectives such as methods and encapsulation, exceptions, inheriting abstract classes and interfaces, and Java 8 Dates and Lambda Expressions Explains object-oriented design principles and patterns Helps you master the fundamentals of functional programming Enables you to create Java solutions applicable to real-world scenarios

There are over 9 millions developers using Java around the world, yet hiring managers face challenges filling open positions with qualified candidates. The OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide will help you take the next step in your career.
Introduction xxi
The Assessment Test xliii
Chapter 1 Welcome to Java
1(34)
Learning About the Java Environment
2(2)
Major Components of Java
2(1)
Downloading a JDK
3(1)
Identifying Benefits of Java
4(1)
Understanding the Java Class Structure
5(3)
Fields and Methods
5(1)
Comments
6(2)
Classes vs. Files
8(1)
Writing a main() Method
8(5)
Creating a main() Method
9(1)
Passing Parameters to a Java Program
10(2)
Running a Program in One Line
12(1)
Understanding Package Declarations and Imports
13(11)
Wildcards
15(1)
Redundant Imports
15(1)
Naming Conflicts
16(2)
Creating a New Package
18(1)
Compiling and Running Code with Packages
19(1)
Using an Alternate Directory
20(2)
Compiling with JAR Files
22(1)
Creating a JAR File
23(1)
Running a Program in One Line with Packages
24(1)
Ordering Elements in a Class
24(2)
Code Formatting on the Exam
26(1)
Summary
27(1)
Exam Essentials
27(2)
Review Questions
29(6)
Chapter 2 Java Building Blocks
35(44)
Creating Objects
36(4)
Calling Constructors
36(1)
Reading and Writing Member Fields
37(1)
Executing Instance Initializer Blocks
38(1)
Following Order of Initialization
39(1)
Understanding Data Types
40(6)
Using Primitive Types
40(4)
Using Reference Types
44(1)
Distinguishing between Primitives and Reference Types
45(1)
Declaring Variables
46(4)
Identifying Identifiers
46(3)
Declaring Multiple Variables
49(1)
Initializing Variables
50(9)
Creating Local Variables
51(1)
Passing Constructor and Method Parameters
52(1)
Defining Instance and Class Variables
53(1)
Introducing var
53(6)
Managing Variable Scope
59(3)
Limiting Scope
59(1)
Nesting Scope
60(1)
Tracing Scope
60(1)
Applying Scope to Classes
61(1)
Reviewing Scope
62(1)
Destroying Objects
62(5)
Understanding Garbage Collection
63(1)
Tracing Eligibility
64(3)
Summary
67(1)
Exam Essentials
67(2)
Review Questions
69(10)
Chapter 3 Operators
79(34)
Understanding Java Operators
80(2)
Types of Operators
80(1)
Operator Precedence
81(1)
Applying Unary Operators
82(3)
Logical Complement and Negation Operators
83(1)
Increment and Decrement Operators
84(1)
Working with Binary Arithmetic Operators
85(5)
Arithmetic Operators
86(2)
Numeric Promotion
88(2)
Assigning Values
90(5)
Assignment Operator
90(1)
Casting Values
90(3)
Compound Assignment Operators
93(1)
Assignment Operator Return Value
94(1)
Comparing Values
95(7)
Equality Operators
95(2)
Relational Operators
97(2)
Logical Operators
99(1)
Short-Circuit Operators
100(2)
Making Decisions with the Ternary Operator
102(1)
Summary
103(1)
Exam Essentials
104(1)
Review Questions
105(8)
Chapter 4 Making Decisions
113(48)
Creating Decision-Making Statements
114(12)
Statements and Blocks
114(1)
The if Statement
115(1)
The else Statement
116(3)
The switch Statement
119(7)
Writing while Loops
126(4)
The while Statement
126(1)
The do/while Statement
127(1)
Comparing while and do/while Loops
128(1)
Infinite Loops
129(1)
Constructing for Loops
130(11)
The for Loop
131(5)
The for-each Loop
136(5)
Controlling Flow with Branching
141(8)
Nested Loops
141(1)
Adding Optional Labels
142(1)
The break Statement
143(2)
The continue Statement
145(2)
The return Statement
147(1)
Unreachable Code
148(1)
Reviewing Branching
148(1)
Summary
149(1)
Exam Essentials
150(1)
Review Questions
151(10)
Chapter 5 Core Java APIs
161(60)
Creating and Manipulating Strings
162(10)
Concatenation
163(1)
Immutability
164(1)
Important String Methods
165(6)
Method Chaining
171(1)
Using the StringBuilder Class
172(5)
Mutability and Chaining
173(1)
Creating a StringBuilder
174(1)
Important StringBuilder Methods
174(3)
Understanding Equality
177(3)
Comparing equals() and ==
177(2)
The String Pool
179(1)
Understanding Java Arrays
180(13)
Creating an Array of Primitives
181(2)
Creating an Array with Reference Variables
183(2)
Using an Array
185(1)
Sorting
186(1)
Searching
187(1)
Comparing
188(2)
Varargs
190(1)
Multidimensional Arrays
190(3)
Understanding an ArrayList
193(11)
Creating an ArrayList
193(2)
Using an ArrayList
195(4)
Wrapper Classes
199(2)
Autoboxing and Unboxing
201(1)
Converting Between array and List
201(2)
Using Varargs to Create a List
203(1)
Sorting
204(1)
Creating Sets and Maps
204(2)
Introducing Sets
204(1)
Introducing Maps
205(1)
Calculating with Math APIs
206(2)
min() and max()
206(1)
round()
207(1)
pow()
207(1)
random()
208(1)
Summary
208(1)
Exam Essentials
209(1)
Review Questions
210(11)
Chapter 6 Lambdas and Functional Interfaces
221(26)
Writing Simple Lambdas
222(5)
Lambda Example
222(3)
Lambda Syntax
225(2)
Introducing Functional Interfaces
227(4)
Predicate
228(1)
Consumer
228(1)
Supplier
229(1)
Comparator
230(1)
Working with Variables in Lambdas
231(3)
Parameter List
231(1)
Local Variables inside the Lambda Body
231(1)
Variables Referenced from the Lambda Body
232(2)
Calling APIs with Lambdas
234(2)
removeIf()
234(1)
sort()
235(1)
forEach()
235(1)
Summary
236(1)
Exam Essentials
237(1)
Review Questions
238(9)
Chapter 7 Methods and Encapsulation
247(48)
Designing Methods
248(6)
Access Modifiers
249(1)
Optional Specifiers
250(1)
Return Type
251(1)
Method Name
252(1)
Parameter List
253(1)
Optional Exception List
253(1)
Method Body
254(1)
Working with Varargs
254(2)
Applying Access Modifiers
256(8)
Private Access
256(1)
Default (Package-Private) Access
257(2)
Protected Access
259(4)
Public Access
263(1)
Applying the static Keyword
264(8)
Designing static Methods and Fields
264(1)
Accessing a static Variable or Method
265(1)
Static vs. Instance
266(2)
Static Variables
268(1)
Static Initialization
269(1)
Static Imports
270(2)
Passing Data among Methods
272(3)
Overloading Methods
275(6)
Varargs
277(1)
Autoboxing
277(1)
Reference Types
277(2)
Primitives
279(1)
Generics
279(1)
Arrays
280(1)
Putting It All Together
280(1)
Encapsulating Data
281(2)
Summary
283(1)
Exam Essentials
284(1)
Review Questions
285(10)
Chapter 8 Class Design
295(68)
Understanding Inheritance
296(3)
Single vs. Multiple Inheritance
297(1)
Inheriting Object
298(1)
Creating Classes
299(6)
Extending a Class
299(2)
Applying Class Access Modifiers
301(1)
Accessing the this Reference
302(1)
Calling the super Reference
303(2)
Declaring Constructors
305(18)
Creating a Constructor
305(1)
Default Constructor
306(2)
Calling Overloaded Constructors with this()
308(2)
Calling Parent Constructors with super()
310(4)
Constructors and final Fields
314(2)
Order of Initialization
316(6)
Reviewing Constructor Rules
322(1)
Inheriting Members
323(14)
Calling Inherited Members
323(1)
Inheriting Methods
324(12)
Hiding Variables
336(1)
Understanding Polymorphism
337(9)
Object vs. Reference
339(1)
Casting Objects
340(1)
The instanceof Operator
341(1)
Polymorphism and Method Overriding
342(2)
Overriding vs. Hiding Members
344(2)
Summary
346(1)
Exam Essentials
347(2)
Review Questions
349(14)
Chapter 9 Advanced Class Design
363(38)
Creating Abstract Classes
364(9)
Introducing Abstract Classes
364(2)
Defining Abstract Methods
366(4)
Creating a Concrete Class
370(2)
Reviewing Abstract Class Rules
372(1)
Implementing Interfaces
373(15)
Defining an Interface
373(4)
Inserting Implicit Modifiers
377(3)
Inheriting an Interface
380(4)
Polymorphism and Interfaces
384(2)
Reviewing Interface Rules
386(2)
Introducing Inner Classes
388(2)
Defining a Member Inner Class
388(1)
Using a Member Inner Class
389(1)
Summary
390(1)
Exam Essentials
391(1)
Review Questions
392(9)
Chapter 10 Exceptions
401(50)
Understanding Exceptions
402(7)
The Role of Exceptions
402(2)
Understanding Exception Types
404(3)
Throwing an Exception
407(2)
Recognizing Exception Classes
409(5)
RuntimeException Classes
409(3)
Checked Exception Classes
412(1)
Error Classes
413(1)
Handling Exceptions
414(18)
Using try and catch Statements
414(2)
Chaining catch Blocks
416(2)
Applying a Multi-catch Block
418(3)
Adding a finally Block
421(3)
Finally Closing Resources
424(6)
Throwing Additional Exceptions
430(2)
Calling Methods That Throw Exceptions
432(5)
Declaring and Overriding Methods with Exceptions
434(1)
Printing an Exception
435(2)
Summary
437(1)
Exam Essentials
438(2)
Review Questions
440(11)
Chapter 11 Modules
451(40)
Introducing Modules
452(4)
Exploring a Module
453(1)
Benefits of Modules
454(2)
Creating and Running a Modular Program
456(7)
Creating the Files
457(1)
Compiling Our First Module
458(2)
Running Our First Module
460(1)
Packaging Our First Module
461(2)
Updating Our Example for Multiple Modules
463(7)
Updating the Feeding Module
463(1)
Creating a Care Module
464(2)
Creating the Talks Module
466(3)
Creating the Staff Module
469(1)
Diving into the module-info File
470(5)
exports
470(2)
Requires transitive
472(2)
provides, uses, and opens
474(1)
Discovering Modules
475(6)
The java Command
475(3)
The jar Command
478(1)
The jdeps Command
478(2)
The jmod Command
480(1)
Reviewing Command-Line Options
481(2)
Summary
483(1)
Exam Essentials
484(1)
Review Questions
485(6)
Appendix Answers to Review Questions
491(38)
Chapter 1 Welcome to Java
492(2)
Chapter 2 Java Building Blocks
494(4)
Chapter 3 Operators
498(3)
Chapter 4 Making Decisions
501(4)
Chapter 5 Core Java APIs
505(4)
Chapter 6 Lambdas and Functional Interfaces
509(2)
Chapter 7 Methods and Encapsulation
511(2)
Chapter 8 Class Design
513(5)
Chapter 9 Advanced Class Design
518(4)
Chapter 10 Exceptions
522(4)
Chapter 11 Modules
526(3)
Index 529
Jeanne Boyarsky, OCA/OCP 8 and OCP 11, has worked as a Java developer for a major bank for more than 17 years. She is a senior moderator at CodeRanch, and trains and mentors students of all levels, including the programming division of a FIRST robotics team.

Scott Selikoff, OCA/OCP 8 and OCP 11, has been a professional Java Enterprise developer for over 20 years. He currently operates Selikoff Solutions, LLC, which provides software consulting services to businesses in the tri-state New York City area.