OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide
eBook - ePub

OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide

Exam 1Z0-815

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide

Exam 1Z0-815

About this book

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 Guidescover everything you need to prepare for and take Exam 1Z0-819. If you've purchased one of the Programmer Study Guides, purchase the other one and you'll 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 bank—containing 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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide by Jeanne Boyarsky,Scott Selikoff in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Sybex
Year
2019
Print ISBN
9781119584704
eBook ISBN
9781119584568

Chapter 1
Welcome to Java

OCP exam objectives covered in this chapter:
  • images
    Understanding Java Technology and Environment
    • Describe Java Technology and the Java development environment
    • Identify key features of the Java language
  • images
    Creating a Simple Java Program
    • Create an executable Java program with a main class
    • Compile and run a Java program from the command line
    • Create and import packages
  • images
    Describing and Using Objects and Classes
    • Define the structure of a Java class
images
Welcome to the beginning of your journey to achieve a Java 11 certification. We assume this isn’t the first Java programming book you’ve read. Although we do talk about the basics, we do so only because we want to make sure you have all the terminology and detail you’ll need for the 1Z0-815 exam. If you’ve never written a Java program before, we recommend you pick up an introductory book on any version of Java. Examples include Head First Java, 2nd Edition (O’Reilly Media, 2009); Java for Dummies (For Dummies, 2017), Murach’s Java Programming (Murach, 2017), or Thinking in Java, 4th Edition (Prentice Hall, 2006). It’s okay if the book covers an older version of Java—even Java 1.3 is fine. Then come back to this certification study guide.
This chapter covers the fundamentals of Java. You’ll better understand the Java environments and benefits of Java. You’ll also see how to define and run a Java class and learn about packages.

Learning About the Java Environment

The Java environment consists of understanding a number of technologies. In the following sections, we will go over the key terms and acronyms you need to know for the exam and then discuss what software you need to study for the exam.

Major Components of Java

The Java Development Kit (JDK) contains the minimum software you need to do Java development. Key pieces include the compiler (javac), which converts .java files to .class files, and the launcher java, which creates the virtual machine and executes the program. We will use both later in this chapter when running programs at the command line. The JDK also contains other tools including the archiver (jar) command, which can package files together, and the API documentation (javadoc) command for generating documentation.
The javac program generates instructions in a special format that the java command can run called bytecode. Then java launches the Java Virtual Machine (JVM) before running the code. The JVM knows how to run bytecode on the actual machine it is on. You can think of the JVM as a special magic box on your machine that knows how to run your .class file.

Where Did the JRE Go?

In previous versions of Java, you could download a Java Runtime Environment (JRE) instead of the full JDK. The JRE was a subset of the JDK that was used for running a program but could not compile one. It was literally a subset. In fact, if you looked inside the directory structure of a JDK in older versions of Java, you would see a folder named jre.
In Java 11, the JRE is no longer available as a stand-alone download or a subdirectory of the JDK. People can use the full JDK when running a Java program. Alternatively, developers can supply an ...

Table of contents

  1. Cover
  2. Title Page
  3. Copyright
  4. Dedication
  5. Acknowledgments
  6. About the Authors
  7. Introduction
  8. Taking the Assessment Test
  9. Answers to Assessment Test
  10. Chapter 1 Welcome to Java
  11. Chapter 2 Java Building Blocks
  12. Chapter 3 Operators
  13. Chapter 4 Making Decisions
  14. Chapter 5 Core Java APIs
  15. Chapter 6 Lambdas and Functional Interfaces
  16. Chapter 7 Methods and Encapsulation
  17. Chapter 8 Class Design
  18. Chapter 9 Advanced Class Design
  19. Chapter 10 Exceptions
  20. Chapter 11 Modules
  21. Appendix Answers to Review Questions
  22. Index
  23. Advert
  24. End User License Agreement