Cover image for Oracle Certified Associate, Java SE 7 Programmer Study Guide.
Oracle Certified Associate, Java SE 7 Programmer Study Guide.
Title:
Oracle Certified Associate, Java SE 7 Programmer Study Guide.
Author:
Reese, Richard M.
ISBN:
9781849687331
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (411 pages)
Contents:
Oracle Certified Associate, Java SE 7 Programmer Study Guide -- Table of Contents -- Oracle Certified Associate, Java SE 7 Programmer Study Guide -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Instant Updates on New Packt Books -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Getting Started with Java -- Understanding Java as a technology -- Object-oriented software development -- OOP principles -- Examining the types of Java applications -- Exploring the structure of a Java console program -- A simple Java application -- Package -- Import -- The Customer class -- Instance variables -- Methods -- The CustomerDriver class' main method -- Exploring the structure of a class -- Classes, interfaces, and objects -- Classes and objects -- Constructors -- Interfaces -- Methods -- Method declaration -- Method signature -- The main method -- Returning a value from an application -- Access modifiers -- Documentation -- Comments -- Java naming conventions -- Using Javadocs -- Investigating the Java application development process -- Compiling a Java application -- SDK file structure -- IDE file structure -- Developing Java applications without an IDE -- Java environment -- Annotations -- Java class libraries -- Summary -- Certification objectives covered -- Test your knowledge -- 2. Java Data Types and Their Usage -- Understanding how Java handles data -- Java identifiers, objects, and memory -- Stack and heap -- Declaring a variable -- Primitive data types -- Wrapper classes and autoboxing -- Initializing identifiers.

Java constants, literals, and enumerations -- Literals -- Numeric literals -- Character literals -- String literals -- Constants -- The final keyword -- Enumerations -- Immutable objects -- Instance versus static data -- Scope and lifetime -- Scoping rules -- Access modifiers -- Data summary -- Building expressions using operands and operators -- Precedence and associativity -- Casting -- Working with characters and strings -- The String, StringBuffer, and StringBuilder classes -- Unicode characters -- The Character class -- The Character class - methods -- The String class -- String comparisons -- Basic string methods -- String length -- Number/string conversions -- Miscellaneous String methods -- The StringBuffer and StringBuilder classes -- Summary -- Certification objectives covered -- Test your knowledge -- 3. Decision Constructs -- Flow of control -- Control statement - an overview -- Logical expressions -- Boolean variables -- The equality operator -- Relational operators -- Logical operators -- Short circuit evaluation -- Using the && operator -- Using the

The strictfp keyword -- Comparing objects -- Three basic coding activities -- The goto statement -- Summary -- Certification objectives covered -- Test your knowledge -- 4. Using Arrays and Collections -- Arrays -- One-dimensional arrays -- The placement of array brackets -- Initializing arrays -- Arrays of objects -- Multidimensional arrays -- Array techniques -- Traversing arrays -- Using simple loops -- Using the for-each statement -- Comparing arrays -- Element-by-element comparison -- Using the equality operator -- Using the equals method -- Using the deepEquals method -- Copying arrays -- Simple element-by-element copy -- Using the System.arraycopy method -- Using the Arrays.copyOf method -- Using the Arrays.copyOfRange method -- Using the clone method -- Passing arrays -- Using command-line arguments -- The Arrays class -- Key points to remember when using arrays -- Collections -- Iterators -- ArrayList -- Creating ArrayList -- Adding elements -- Retrieving elements -- Traversing a ArrayList object -- Sorting a ArrayList object -- Other ArrayList methods -- Encapsulating collections -- Summary -- Certification objectives covered -- Test your knowledge -- 5. Looping Constructs -- The for statement -- The comma operator -- The for statement and scope -- The for loop variations -- The for-each statement -- Using the for-each statement with a list -- Implementing the Iterator interface -- The for-each statement - usage issues -- Null values -- Variable number of arguments -- 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 -- 6. Classes, Constructors, and Methods -- Classes -- Object creation -- Memory management -- Data encapsulation.

Referencing instance variables -- Signature -- Using the this keyword -- Passing parameters -- Variable number of arguments -- Immutable objects -- Constructors -- Default constructors -- Overloading the constructors -- Private constructors -- Constructor issues -- Java initialization sequence -- Methods -- Defining methods -- Calling methods -- Overloading methods -- Accessors/mutators -- Instance and static class members -- Summary -- Certification objectives covered -- Test your knowledge -- 7. Inheritance and Polymorphism -- Inheritance -- Implementing a subclass -- Using the protected keyword -- Overriding methods -- The @Override annotation -- Using the final keyword with classes -- Abstract methods and classes -- Polymorphism -- Managing classes and objects -- The super keyword and constructors -- Calling a base class constructor -- Accessing an overridden method in the base class -- Determining the type of an object -- The Object class -- Casting objects -- A review of scope -- Summary -- Certification objectives covered -- Test your knowledge -- 8. Handling Exceptions in an Application -- Exception types -- Exception handling techniques in Java -- Stack trace -- Using Throwable methods -- The traditional try-catch block -- Using the try-with-resource block -- Catch statement -- Order of the catch blocks -- Using the

Do not try to handle unchecked exceptions -- Summary -- Certification objectives covered -- Test your knowledge -- 9. The Java Application -- Code organization -- Packages -- The directory/file organization of packages -- The import statement -- Avoiding the import statement -- Using the import statement -- Using the wildcard character -- Multiple classes with the same name -- The static import statement -- Garbage collection -- Resource bundles and the Locale class -- Using the Locale class -- Using resource bundles -- Using a property resource bundle -- Using the ListResourceBundle class -- Using JDBC -- Connecting to a database -- Loading a suitable driver -- Establishing a connection -- Creating a SQL statement -- Handling the results -- Summary -- Certification objectives covered -- Test your knowledge -- A. Test Your Knowledge - Answers -- Chapter 1: Getting Started with Java -- Chapter 2: Java Data Types and Their Usage -- Chapter 3: Decision Constructs -- Chapter 4: Using Arrays and Collections -- Chapter 5: Looping Constructs -- Chapter 6: Classes, Constructors, and Methods -- Chapter 7: Inheritance and Polymorphism -- Chapter 8: Handling Exceptions in an Application -- Chapter 9: The Java Application -- Index.
Abstract:
Comprehensive review of Oracle Certified Associate, Java SE 7 Programmer Certification objectives.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: