OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)
A Proven Study System for Oracle Certified Associate Exam 1Z0-803 Prepare for the Oracle Certified Associate Java SE 7 Programmer I exam with help from this exclusive Oracle Press guide. In each chapter, you'll find challenging exercises, practice questions, a two-minute drill, and a chapter su...
Corporate Author: | |
---|---|
Other Authors: | , |
Format: | eBook |
Language: | Inglés |
Published: |
New York :
McGraw-Hill Education
2012.
|
Edition: | Second edition |
Series: | Oracle Press book
|
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629338406719 |
Table of Contents:
- Cover
- Title Page
- Copyright Page
- About the Authors
- About the Technical Editor
- About LearnKey
- Contents at a Glance
- Contents
- Acknowledgments
- OCA Java SE 7 Programmer Study Guide Project Team Acknowledgments
- Personal Acknowledgments
- Preface
- In This Book
- Electronic Content
- Exam Readiness Checklist
- In Every Chapter
- Some Pointers
- Introduction
- Specifics About the OCA Java SE 7 Programmer Certification Exam
- Additional OCA Resources
- Oracle's Certification Program in Java Technology
- Chapter 1: Packaging, Compiling, and Interpreting Java Code
- Understand Packages
- Package Design
- Package and import Statements
- Exercise 1-1: Replacing Implicit import Statements with Explicit import Statements
- Understand Package-Derived Classes
- Java Utilities API
- Java Basic Input/Output API
- The Java Networking API
- Java Abstract Window Toolkit API
- Java Swing API
- Exercise 1-2: Understanding Extended Functionality of the Java Utilities API
- Understand Class Structure
- Naming Conventions
- Separators and Other Java Source Symbols
- Java Class Structure
- Compile and Interpret Java Code
- Java Compiler
- Java Interpreter
- Exercise 1-3: Compiling and Interpreting Packaged Software
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 2: Programming with Java Statements
- Understand Assignment Statements
- The Assignment Expression Statement
- Create and Use Conditional Statements
- The if Conditional Statement
- The if-then Conditional Statement
- The if-then-else Conditional Statement
- The switch Conditional Statement
- Exercise 2-1: Evaluating the String Class in the switch Statement
- Create and Use Iteration Statements
- The for Loop Iteration Statement
- The Enhanced for Loop Iteration Statement.
- Exercise 2-2: Iterating Through an ArrayList While Applying Conditions
- The while Iteration Statement
- The do-while Iteration Statement
- Exercise 2-3: Performing Code Refactoring
- Exercise 2-4: Knowing Your Statement-Related Keywords
- Create and Use Transfer of Control Statements
- The break Transfer of Control Statement
- The continue Transfer of Control Statement
- The return Transfer of Control Statement
- The labeled Statement
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 3: Programming with Java Operators and Strings
- Understand Fundamental Operators
- Assignment Operators
- Exercise 3-1: Using Compound Assignment Operators
- Arithmetic Operators
- Relational Operators
- Logical Operators
- Understand Operator Precedence
- Operator Precedence
- Overriding Operator Precedence
- Use String Objects and Their Methods
- Strings
- The String Concatenation Operator
- Exercise 3-2: Uncovering Bugs that Your Compiler May Not Find
- Methods of the String Class
- Use StringBuilder Objects and Their Methods
- Methods of the StringBuilder Class
- Exercise 3-3: Using Constructors of the StringBuilder Class
- Test Equality Between Strings and other Objects
- equals Method of the String Class
- Exercise 3-4: Working with the compareTo Method of the String Class
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 4: Working with Basic Classes and Variables
- Understand Primitives, Enumerations, and Objects
- Primitive Variables
- Objects
- Exercise 4-1: Compile and Run an Object
- Arrays
- Enumerations
- Java Is Strongly Typed
- Naming Conventions
- Use Primitives, Enumerations, and Objects
- Literals
- Examples of Primitives, Enumerations, and Objects
- Exercise 4-2: Creating Getters and Setters
- Certification Summary.
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 5: Understanding Methods and Variable Scope
- Create and Use Methods
- Using Method Syntax
- Making and Calling a Method
- Overloading a Method
- Pass Objects by Reference and Value
- Passing Primitives by Value to Methods
- Passing Objects by Reference to Methods
- Understand Variable Scope
- Local Variables
- Method Parameters
- Instance Variables
- An Object's Lifecycle
- Create and Use Constructors
- Making a Constructor
- Overloading a Constructor
- Using the Default Constructor
- Use this and super Keywords
- The this Keyword
- The super Keyword
- Create Static Methods and Instance Variables
- Static Methods
- Static Variables
- Constants
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 6: Programming with Arrays
- Work with Java Arrays
- One-Dimensional Arrays
- Multi-Dimensional Arrays
- Work with ArrayList Objects and Their Methods
- Using the ArrayList Class
- ArrayList vs. Standard Arrays
- Exercise 6-1: Implement an ArrayList and Standard Array
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 7: Understanding Class Inheritance
- Implement and Use Inheritance and Class Types
- Inheritance
- Overriding Methods
- Abstract Classes
- Interfaces
- Advanced Concepts of Inheritance
- Understand Encapsulation Principles
- Good Design with Encapsulation
- Access Modifiers
- Setters and Getters
- Advanced Use of Classes with Inheritance and Encapsulation
- Java Access Modifiers Example
- Inheritance with Concrete Classes Examples
- Inheritance with Abstract Classes Examples
- Exercise 7-1: Add Functionality to the Plant Simulator
- Interface Example
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers.
- Chapter 8: Understanding Polymorphism and Casts
- Understand Polymorphism
- Concepts of Polymorphism
- Practical Examples of Polymorphism
- Exercise 8-1: Add Functionality to the Describable Example
- Understand Casting
- When Casting Is Needed
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 9: Handling Exceptions
- Understand the Rationale and Types of Exceptions
- Exception Hierarchy in Java
- Checked Exceptions
- Unchecked Exceptions
- (Unchecked) Errors
- Exercise 9-1: Determining When to Use Assertions in Place of Exceptions
- Exercise 9-2: Analyzing the Source Code of Java Exceptions
- Understand the Nature of Exceptions
- Defining Exceptions
- Throwing Exceptions
- Propagating Exceptions
- Exercise 9-3: Creating a Custom Exception Class
- Alter the Program Flow
- The try-catch Statement
- The try-finally Statement
- The try-catch-finally Statement
- The try-with-resources Statement
- The multi-catch Clause
- Exercise 9-4: Using NetBeans Code Templates for Exception Handling Elements
- Recognize Common Exceptions
- Common Checked Exceptions
- Common Unchecked Exceptions
- Common Errors
- Exercise 9-5: Creating an Error Condition
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Chapter 10: Working with Classes and Their Relationships
- Understand Class Compositions and Associations
- Class Compositions and Associations
- Class Relationships
- Multiplicities
- Association Navigation
- Class Compositions and Associations in Practice
- Examples of Class Association Relationships
- Examples of Class Composition Relationships
- Examples of Association Navigation
- Certification Summary
- Two-Minute Drill
- Self Test
- Self Test Answers
- Appendix A: Java Platforms
- Java Platform, Standard Edition
- The Java SE API.
- The Java Runtime Environment
- The Java Development Kit
- Supported Operating Systems
- Java 2 Platform, Micro Edition
- Configurations
- Profiles
- Optional Packages
- Squawk
- Java Platform, Enterprise Edition
- Appendix B: Java SE 7 Packages
- Core Packages
- Integration Packages
- User Interface Packages
- Security Packages
- XML-based Packages
- Appendix C: Java Keywords
- Appendix D: Bracket Conventions
- Java Bracket Conventions
- Miscellaneous Bracket Conventions
- Appendix E: Unicode Standard
- Appendix F: Pseudo-code Algorithms
- Implementing Statement-Related Algorithms from Pseudo-code
- Pseudo-code Algorithms
- Pseudo-code Algorithms and Java
- Appendix G: Unified Modeling Language
- Recognizing Representations of Significant UML Elements
- Classes, Abstract Classes, and Interface Diagrams
- Attributes and Operations
- Visibility Modifiers
- Recognizing Representations of UML Associations
- Graphic Paths
- Relationship Specifiers
- Appendix H: Practice Exam
- MasterExam ANSWERS
- Appendix I: About the Download
- Steps to Download MasterExam
- System Requirements
- MasterExam
- Enterprise Architect Project File
- Help
- Removing Installation
- Technical Support
- LearnKey Technical Support
- Glossary
- Index.