OCA Java SE 8 programmer I exam guide (exam 1Z0-808) /
Up-to-date coverage of every topic on the Java 8 SE Programmer I exam Prepare for the OCA Java SE 8 Programmer I exam using this effective self-study system from Oracle Press. Written by developers of the original Sun Certified Java Programmer exam, OCA Java SE 8 Programmer I Exam Guide (Exam 1Z0-80...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York :
McGraw-Hill Education,
[2017]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover Page
- Title Page
- Copyright Page
- Contents
- Acknowledgments
- Preface
- Introduction
- 1 Declarations and Access Control
- Java Refresher
- Features and Benefits of Java (OCA Objective 1.5)
- Identifiers and Keywords (OCA Objectives 1.2 and 2.1)
- Legal Identifiers
- Oracle's Java Code Conventions
- Define Classes (OCA Objectives 1.2, 1.3, 1.4, 6.4, and 7.5)
- Source File Declaration Rules
- Using the javac and java Commands
- Using public static void main(String args)
- Import Statements and the Java API
- Static Import Statements
- Class Declarations and Modifiers
- Exercise 1-1: Creating an Abstract Superclass and Concrete Subclass
- Use Interfaces (OCA Objective 7.5)
- Declaring an Interface
- Declaring Interface Constants
- Declaring default Interface Methods
- Declaring static Interface Methods
- Declare Class Members (OCA Objectives 2.1, 2.2, 2.3, 4.1, 4.2, 6.2, 6.3, and 6.4)
- Access Modifiers
- Nonaccess Member Modifiers
- Constructor Declarations
- Variable Declarations
- Declare and Use enums (OCA Objective 1.2)
- Declaring enums
- Certification Summary
- Two-Minute Drill
- Q & A Self Test
- Self Test Answers
- 2 Object Orientation
- Encapsulation (OCA Objectives 6.1 and 6.5)
- Inheritance and Polymorphism (OCA Objectives 7.1 and 7.2)
- The Evolution of Inheritance
- IS-A and HAS-A Relationships
- Polymorphism (OCA Objective 7.2)
- Overriding/Overloading (OCA Objectives 6.1 and 7.2)
- Overridden Methods
- Overloaded Methods
- Casting (OCA Objectives 2.2 and 7.3)
- Implementing an Interface (OCA Objective 7.5)
- Java 8-Now with Multiple Inheritance!
- Legal Return Types (OCA Objectives 2.2 and 6.1)
- Return Type Declarations
- Returning a Value
- Constructors and Instantiation (OCA Objectives 6.3 and 7.4)
- Constructor Basics
- Constructor Chaining
- Rules for Constructors
- Determine Whether a Default Constructor Will Be Created
- Overloaded Constructors
- Initialization Blocks (OCA Objectives 1.2 and 6.3-ish)
- Statics (OCA Objective 6.2)
- Static Variables and Methods
- Certification Summary
- Two-Minute Drill
- Q & A Self Test
- Self Test Answers
- 3 Assignments
- Stack and Heap-Quick Review
- Literals, Assignments, and Variables (OCA Objectives 2.1, 2.2, and 2.3)
- Literal Values for All Primitive Types
- Assignment Operators
- Exercise 3-1: Casting Primitives
- Scope (OCA Objective 1.1)
- Variable Scope
- Variable Initialization (OCA Objectives 2.1, 4.1, and 4.2)
- Using a Variable or Array Element That Is Uninitialized and Unassigned
- Local (Stack, Automatic) Primitives and Objects
- Passing Variables into Methods (OCA Objective 6.6)
- Passing Object Reference Variables
- Does Java Use Pass-By-Value Semantics?
- Passing Primitive Variables
- Garbage Collection (OCA Objective 2.4)
- Overview of Memory Management and Garbage Collection
- Overview of Java's Garbage Collector