Programmer Books

JAVA: Classes In Java Applications 2 [PDF]

an-introduction-to-java-programming-2

Description

The three books in the Java series aim to give the learner a deep understanding of the Standard Edition (SE) Application Programming Interface (API) of the Java programming language. The series begins with an introduction to the basic concepts of Java objects and concludes with an exploration of the development of Java programmes that employ a graphical user interface to the business logic of a Java application.

Content

Using the Java Application Programming Interface

  1. Documentation in Developer-Written Java Classes
  2. Documentation in the Java Application Programming Interface

Flow Control

  1. Introduction to Flow Control
  2. Sequential Flow
  3. Conditional Flow
  4. Making Decisions
  5. Controlling the Repetition of Blocks of Code
  6. Deciding Which Construct to Use
  7. Branching Statements
  8. Handling Exception Objects

Extending Classes by Means of Inheritance

  1. What Does Inheritance Mean?
  2. Overriding and Hiding Methods in a Subclass
  3. Invoking a Parent Class Constructor from a Subclass Constructor
  4. final and abstract Classes
  5. What Does Type Compatibility Mean?
  6. Virtual Method Invocation
  7. Controlling Access to the Members of a Class
  8. Summary of Inheritance

Errors in Java Programmes

  1. Categories of Error
  2. What are Unexpected Error Conditions?
  3. Checked Exceptions
  4. try … catch … finally Blocks
  5. Throwing Exceptions
  6. Exceptions in the Themed Application
  7. Summary of Exceptions

Java Interfaces

  1. What is a Java Interface?
  2. Defining and Implementing a Java Interface
  3. The Role of Interfaces as a Means to Introduce Behaviour to a Class
  4. Interfaces as Types
  5. Summary of Java Interfaces

Grouping Classes Together in a Java Application

  1. An Introduction to Java Packages
  2. Creating Packages
  3. Naming Convention
  4. Packages in the Java Language
  5. Using and Accessing Package Members
  6. Compiling and Running Package Members

You can also get this PDF by using our Android Mobile App directly: