Cargando…

Oracle certified associate, Java SE 7 programmer study guide : comprehensive review of Oracle certified associate, Java SE 7 programmer certification objectives /

Each objective is addressed using a series of programming examples. When the topic impacts memory, stack and heap illustrations are used to provide the reader with a more in depth understanding of the topic. At the end of each chapter, a series of sample questions are provided to reinforce your know...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Reese, Richard M.
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., ©2012.
Colección:Professional expertise distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 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 declarationMethod signature; The main method; 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; Chapter 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 typesWrapper classes and autoboxing; Initializing identifiers; Java constants, literals, and enumerations; 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
  • Misusing the equality operatorUsing inverse operations; Using Boolean variables instead of logical expressions; Using true or false in a logical expression; The perils of not using the block statement; The dangling else problem; Conditional operator; The switch statement; Integer-based switch statements; Enumeration-based switch statements; String-based switch statements; String issues with the switch statement; Control structure issues; General decision constructs issues; Floating point number considerations; Special floating point values; Comparing floating point numbers; Rounding errors