Profile


e-Catalog


Contact

Search

Cart
Anatomy of Java Classes

Course Status: Released
Course Language: English
Course Duration: 4 Hours
Deployment Options: Online, Interactive CDs, Network, Downloads, Intranet

Audience
Programmers with a knowledge of Java principles who wish to gain a more in-depth understanding of Java classes
Prerequisites
Completion of the previous courses in the Java curriculum
Course Aim
To explain the structure of Java classes, outline the properties of an object and its interfaces, and explain exception handling
Learning Objectives
Describe the structure of Java classes and the function of methods, instance variables, and class variables within the class declaration.
Describe the purpose of super references in a Java program.
Describe the use of constructors, the finalize method, and garbage collection in Java.
Discuss the use of object serialization in Java.
Describe casting and reflection and the declaration, implementation, and function of interfaces within a Java object.
Outline the way an exception object is passed to the Java runtime system in search of a way to handle an error.
Describe how you can throw exceptions using the throw keyword, and use try, catch, and finally to handle errors.
Topics Covered
Overall structure of a class
-
Structure of a class definition
- Using variables in Java
- Using object methods
- Using this and super

Object life cycle
-
About constructors
- Finalization
- Garbage collection
- Serialization

Interfaces, casting, and reflection
-
About interfaces
- Declaring interfaces
- Casting
- Reflection

Exception handling
-
Handling exceptions as objects
- Handling errors using try, catch, and finally
- Hands-on: Creating an exception handler
- Exception objects and the throw keyword


| About Eno.com | Security&Privacy | Contact Us |
Copyright © 1998-2001 E&A Inc.. All rights reserved.