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
- Documentation in Developer-Written Java Classes
- Documentation in the Java Application Programming Interface
Flow Control
- Introduction to Flow Control
- Sequential Flow
- Conditional Flow
- Making Decisions
- Controlling the Repetition of Blocks of Code
- Deciding Which Construct to Use
- Branching Statements
- Handling Exception Objects
Extending Classes by Means of Inheritance
- What Does Inheritance Mean?
- Overriding and Hiding Methods in a Subclass
- Invoking a Parent Class Constructor from a Subclass Constructor
- final and abstract Classes
- What Does Type Compatibility Mean?
- Virtual Method Invocation
- Controlling Access to the Members of a Class
- Summary of Inheritance
Errors in Java Programmes
- Categories of Error
- What are Unexpected Error Conditions?
- Checked Exceptions
- try … catch … finally Blocks
- Throwing Exceptions
- Exceptions in the Themed Application
- Summary of Exceptions
Java Interfaces
- What is a Java Interface?
- Defining and Implementing a Java Interface
- The Role of Interfaces as a Means to Introduce Behaviour to a Class
- Interfaces as Types
- Summary of Java Interfaces
Grouping Classes Together in a Java Application
- An Introduction to Java Packages
- Creating Packages
- Naming Convention
- Packages in the Java Language
- Using and Accessing Package Members
- Compiling and Running Package Members