Muutke küpsiste eelistusi

E-raamat: OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide: Exam 1Z0-809

(CodeRanch), (Selikoff Solutions, LLC)
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 04-Dec-2015
  • Kirjastus: Sybex Inc.,U.S.
  • Keel: eng
  • ISBN-13: 9781119067894
  • Formaat - EPUB+DRM
  • Hind: 37,04 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 04-Dec-2015
  • Kirjastus: Sybex Inc.,U.S.
  • Keel: eng
  • ISBN-13: 9781119067894

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Complete, trusted preparation for the Java Programmer II exam OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide is your comprehensive companion for preparing for Exam 1Z0-809 as well as upgrade Exam 1Z0-810 and Exam 1Z0-813. With full coverage of 100% of exam objectives, this invaluable guide reinforces what you know, teaches you what you don't know, and gives you the hands-on practice you need to boost your skills. Written by expert Java developers, this book goes beyond mere exam prep with the insight, explanations and perspectives that come from years of experience. You'll review the basics of object-oriented programming, understand functional programming, apply your knowledge to database work, and much more. From the basic to the advanced, this guide walks you through everything you need to know to confidently take the OCP 1Z0-809 Exam and upgrade exams 1Z0-810 and 1Z0-813.

Java 8 represents the biggest changes to the language to date, and the latest exam now requires that you demonstrate functional programming competence in order to pass. This guide has you covered, with clear explanations and expert advice.





Understand abstract classes, interfaces, and class design Learn object-oriented design principles and patterns Delve into functional programming, advanced strings, and localization Master IO, NIO, and JDBC with expert-led database practice

If you're ready to take the next step in your IT career, OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide is your ideal companion on the road to certification.
Introduction xix
Assessment Test xxxviii
Chapter 1 Advanced Class Design 1(46)
Reviewing OCA Concepts
2(5)
Access Modifiers
2(2)
Overloading and Overriding
4(1)
Abstract Classes
5(1)
Static and Final
6(1)
Imports
6(1)
Using instanceof
7(2)
Understanding Virtual Method Invocation
9(2)
Annotating Overridden Methods
11(2)
Coding equals, hash Code, and toString
13(7)
toString
13(2)
equals
15(3)
hashCode
18(2)
Working with Enums
20(4)
Using Enums in Switch Statements
21(1)
Adding Constructors, Fields, and Methods
22(2)
Creating Nested Classes
24(9)
Member Inner Classes
25(2)
Local Inner Classes
27(2)
Anonymous Inner Classes
29(2)
Static Nested Classes
31(2)
Summary
33(1)
Exam Essentials
34(2)
Review Questions
36(11)
Chapter 2 Design Patterns and Principles 47(56)
Designing an Interface
48(4)
Purpose of an Interface
51(1)
Introducing Functional Programming
52(9)
Defining a Functional Interface
53(2)
Implementing Functional Interfaces with Lambdas
55(5)
Applying the Predicate Interface
60(1)
Implementing Polymorphism
61(5)
Distinguishing between an Object and a Reference
63(1)
Casting Object References
64(2)
Understanding Design Principles
66(9)
Encapsulating Data
66(3)
Creating JavaBeans
69(2)
Applying the Is-a Relationship
71(2)
Applying the Has-a Relationship
73(1)
Composing Objects
74(1)
Working with Design Patterns
75(18)
Applying the Singleton Pattern
76(6)
Creating Immutable Objects
82(4)
Using the Builder Pattern
86(3)
Creating Objects with the Factory Pattern
89(4)
Summary
93(1)
Exam Essentials
93(2)
Review Questions
95(8)
Chapter 3 Generics and Collections 103(68)
Reviewing OCA Collections
104(4)
Array and ArrayList
104(1)
Searching and Sorting
105(1)
Wrapper Classes and Autoboxing
106(1)
The Diamond Operator
107(1)
Working with Generics
108(16)
Generic Classes
109(3)
Generic Interfaces
112(2)
Generic Methods
114(1)
Interacting with Legacy Code
114(3)
Bounds
117(5)
Putting It All Together
122(2)
Using Lists, Sets, Maps, and Queues
124(19)
Common Collections Methods
125(2)
Using the List Interface
127(5)
Using the Set Interface
132(2)
Using the Queue Interface
134(4)
Map
138(2)
Comparing Collection Types
140(3)
Comparator vs. Comparable
143(7)
Comparable
143(3)
Comparator
146(4)
Searching and Sorting
150(2)
Additions in Java 8
152(7)
Using Method References
152(2)
Removing Conditionally
154(1)
Updating All Elements
155(1)
Looping through a Collection
155(1)
Using New Java 8 Map APIs
155(4)
Summary
159(2)
Exam Essentials
161(1)
Review Questions
162(9)
Chapter 4 Functional Programming 171(62)
Using Variables in Lambdas
172(1)
Working with Built-In Functional Interfaces
173(9)
Implementing Supplier
174(1)
Implementing Consumer and BiConsumer
175(2)
Implementing Predicate and BiPredicate
177(1)
Implementing Function and BiFunction
178(2)
Implementing UnaryOperator and BinaryOperator
180(1)
Checking Functional Interfaces
181(1)
Returning an Optional
182(3)
Using Streams
185(20)
Creating Stream Sources
188(1)
Using Common Terminal Operations
189(7)
Using Common Intermediate Operations
196(4)
Putting Together the Pipeline
200(4)
Printing a Stream
204(1)
Working with Primitives
205(8)
Creating Primitive Streams
205(3)
Using Optional with Primitive Streams
208(2)
Summarizing Statistics
210(1)
Learning the Functional Interfaces for Primitives
210(3)
Working with Advanced Stream Pipeline Concepts
213(10)
Linking Streams to the Underlying Data
213(1)
Chaining Optionals
214(3)
Collecting Results
217(6)
Summary
223(1)
Exam Essentials
224(2)
Review Questions
226(7)
Chapter 5 Dates, Strings, and Localization 233(50)
Working with Dates and Times
234(19)
Creating Dates and Times
235(6)
Manipulating Dates and Times
241(3)
Working with Periods
244(3)
Working with Durations
247(4)
Accounting for Daylight Savings Time
251(2)
Reviewing the String class
253(2)
Adding Internationalization and Localization
255(18)
Picking a Locale
256(2)
Using a Resource Bundle
258(9)
Formatting Numbers
267(3)
Formatting Dates and Times
270(3)
Summary
273(1)
Exam Essentials
274(2)
Review Questions
276(7)
Chapter 6 Exceptions and Assertions 283(42)
Reviewing Exceptions
284(5)
Exceptions Terminology
284(1)
Categories of Exceptions
285(1)
Exceptions on the OCP
286(2)
Try Statement
288(1)
Throw vs. Throws
289(1)
Creating Custom Exceptions
289(2)
Using Multi-catch
291(5)
Using Try-With-Resources
296(9)
Try-With-Resources Basics
298(2)
AutoCloseable
300(2)
Suppressed Exceptions
302(3)
Putting It Together
305(1)
Rethrowing Exceptions
305(3)
Working with Assertions
308(6)
The assert Statement
308(1)
Enabling Assertions
309(1)
Using Assertions
310(4)
Summary
314(1)
Exam Essentials
315(1)
Review Questions
316(9)
Chapter 7 Concurrency 325(80)
Introducing Threads
327(8)
Distinguishing Thread Types
328(1)
Understanding Thread Concurrency
328(2)
Introducing Runnable
330(1)
Creating a Thread
331(3)
Polling with Sleep
334(1)
Creating Threads with the ExecutorService
335(15)
Introducing the Single-Thread Executor
335(2)
Shutting Down a Thread Executor
337(1)
Submitting Tasks
338(2)
Waiting for Results
340(5)
Scheduling Tasks
345(3)
Increasing Concurrency with Pools
348(2)
Synchronizing Data Access
350(8)
Protecting Data with Atomic Classes
352(2)
Improving Access with Synchronized Blocks
354(2)
Synchronizing Methods
356(1)
Understanding the Cost of Synchronization
357(1)
Using Concurrent Collections
358(8)
Introducing Concurrent Collections
358(1)
Understanding Memory Consistency Errors
359(1)
Working with Concurrent Classes
360(5)
Obtaining Synchronized Collections
365(1)
Working with Parallel Streams
366(11)
Creating Parallel Streams
366(1)
Processing Tasks in Parallel
367(5)
Processing Parallel Reductions
372(5)
Managing Concurrent Processes
377(10)
Creating a CyclicBarrier
377(4)
Applying the Fork/Join Framework
381(6)
Identifying Threading Problems
387(5)
Understanding Liveness
387(4)
Managing Race Conditions
391(1)
Summary
392(1)
Exam Essentials
393(1)
Review Questions
394(11)
Chapter 8 IO 405(48)
Understanding Files and Directories
406(5)
Conceptualizing the File System
406(1)
Introducing the File Class
407(4)
Introducing Streams
411(9)
Stream Fundamentals
411(1)
Stream Nomenclature
412(6)
Common Stream Operations
418(2)
Working with Streams
420(17)
The FilelnputStream and FileOutputStream Classes
420(4)
The FileReader and FileWriter classes
424(2)
The ObjectlnputStream and ObjectOutputStream Classes
426(6)
The PrintStream and PrintWriter Classes
432(3)
Review of Stream Classes
435(2)
Interacting with Users
437(5)
The Old Way
437(1)
The New Way
438(4)
Summary
442(1)
Exam Essentials
443(2)
Review Questions
445(8)
Chapter 9 NIO.2 453(52)
Introducing NIO.2
454(6)
Introducing Path
455(1)
Creating Paths
456(4)
Interacting with Paths and Files
460(18)
Providing Optional Arguments
461(1)
Using Path Objects
462(9)
Interacting with Files
471(7)
Understanding File Attributes
478(9)
Discovering Basic File Attributes
478(5)
Improving Access with Views
483(4)
Presenting the New Stream Methods
487(7)
Conceptualizing Directory Walking
487(1)
Walking a Directory
488(2)
Searching a Directory
490(1)
Listing Directory Contents
491(1)
Printing File Contents
492(2)
Comparing Legacy File and NIO.2 Methods
494(1)
Summary
495(1)
Exam Essentials
495(2)
Review Questions
497(8)
Chapter 10 JDBC 505(42)
Introducing Relational Databases and SQL
507(4)
Identifying the Structure of a Relational Database
508(2)
Writing Basic SQL Statements
510(1)
Introducing the Interfaces of JDBC
511(2)
Connecting to a Database
513(5)
Building a JDBC URL
513(2)
Getting a Database Connection
515(3)
Obtaining a Statement
518(2)
Choosing a ResultSet Type
519(1)
Choosing a ResultSet Concurrency Mode
520(1)
Executing a Statement
520(4)
Getting Data from a ResultSet
524(9)
Reading a ResultSet
524(2)
Getting Data for a Column
526(3)
Scrolling ResultSet
529(4)
Closing Database Resources
533(2)
Dealing with Exceptions
535(1)
Summary
536(1)
Exam Essentials
537(2)
Review Questions
539(8)
Appendix A Answers to Review Questions 547(28)
Chapter 1: Advanced Class Design
548(2)
Chapter 2: Design Patterns and Principles
550(3)
Chapter 3: Generics and Collections
553(3)
Chapter 4: Functional Programming
556(2)
Chapter 5: Dates, Strings, and Localization
558(2)
Chapter 6: Exceptions and Assertions
560(1)
Chapter 7: Concurrency
561(4)
Chapter 8: I0
565(3)
Chapter 9: NIO.2
568(3)
Chapter 10: JDBC
571(4)
Appendix B Study Tips 575(20)
Studying for the Test
576(6)
Creating a Study Plan
576(2)
Comparing Previous Exams
578(1)
Creating and Running Sample Applications
579(3)
Taking the Test
582(13)
Understanding the Question
582(5)
Taking Advantage of the Exam Software
587(1)
Using the Provided Writing Material
587(3)
Choosing the Best Answer
590(1)
Optimizing Your Time
591(2)
Getting a Good Night's Rest
593(2)
Appendix C Upgrading from Java 6 or Earlier 595(54)
Enhancing the Java Language
596(7)
Using the Diamond Operator
596(1)
Creating Literals
597(1)
Making Decisions with Switch
598(5)
Formatting and Parsing
603(4)
Using DecimalFormat Flags
603(1)
Using DateFormat
603(1)
Formatting
604(1)
Parsing
605(1)
Custom Date Formats
606(1)
Applying Locks
607(10)
Understanding the Lock Framework
607(3)
Using a ReentrantLock
610(4)
Understanding Read/Write Locks
614(1)
Using a ReentrantReadWriteLock
615(2)
Working with Directories
617(16)
Traversing Directories
618(7)
Monitoring a Directory for Changes
625(8)
Summary
633(1)
Exam Essentials
633(2)
Review Questions
635(10)
Answers to Practice Test
645(4)
Index 649
Jeanne Boyarsky, OCA/OCP 8, has worked as a Java developer for a bank in NYC for 13 years where she develops, mentors and conducts training. In her free time, she is a senior moderator at CodeRanch and works on the forum code base. Scott Selikoff, OCA/OCP 8, has been a professional Java Enterprise developer for over 15 years. He currently operates Selikoff Solutions, LLC, which provides software consulting services to businesses in the tri-state New York City area.