PacktLib: Oracle Certified Associate, Java SE 7 Programmer Study Guide

Oracle Certified Associate, Java SE 7 Programmer Study Guide

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Java

Understanding Java as a technology

Exploring the structure of a Java console program

Exploring the structure of a class

Investigating the Java application development process

Summary

Certification objectives covered

Test your knowledge

Java Data Types and Their Usage

Understanding how Java handles data

Building expressions using operands and operators

Working with characters and strings

Summary

Certification objectives covered

Test your knowledge

Decision Constructs

Flow of control

Logical expressions

The if statement

Conditional operator

The switch statement

Control structure issues

Summary

Certification objectives covered

Test your knowledge

Using Arrays and Collections

Arrays

Collections

Summary

Certification objectives covered

Test your knowledge

Looping Constructs

The for statement

The for-each statement

The while statement

The do-while statement

The break statement

The continue statement

Nested loops

Using labels

Infinite loops

Timing is everything

Pitfalls

Summary

Certification objectives covered

Test your knowledge

Classes, Constructors, and Methods

Classes

Using the this keyword

Constructors

Methods

Instance and static class members

Summary

Certification objectives covered

Test your knowledge

Inheritance and Polymorphism

Inheritance

Polymorphism

Managing classes and objects

Summary

Certification objectives covered

Test your knowledge

Handling Exceptions in an Application

Exception types

Exception handling techniques in Java

The traditional try-catch block

Using the try-with-resource block

Catch statement

The finally block

Nested try-catch blocks

Exception handling guidelines

Summary

Certification objectives covered

Test your knowledge

The Java Application

Code organization

Resource bundles and the Locale class

Using JDBC

Summary

Certification objectives covered

Test your knowledge

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers

Test Your Knowledge – Answers