Consult our trainings :
Java Programming Training
- Participants / Prerequisite
This course will allow you to master the principles of the object approach and the features of the Java language. The language constructions will be introduced progressively starting from basic concepts. The course will also cover design problems (via the UML notation) and will present the main standard libraries and APIs: inputs/outputs, utilities, graphics classes (AWT and Swing), applets. This course briefly presents the new Java Tiger features.
- The general principles of "object" modelling and programming. Abstraction and encapsulation: the interfaces. Various types of inheritance, polymorphism.
- An introduction to models and to UML notation: static models, dynamic models, cooperation models, and scenarios.
The UML specification for a case study that will be the basis for the exercises that follow.
- Variables: declaring and classifying.
- Defining fields.
- Methods: defining.
- Control instructions: conditional, loop, and branch instructions.
- Compilation Units and packages: controlling the visibility of classes, import mechanisms.
A series of simple exercises allowing familiarisation with the development environment and the realisation of a simple programme. Using packages.
- Classes and objects.
- Fields, methods.
- Static fields and methods.
- Aspects of methodology: designing classes.
Programming the case study.
- The different types of inheritance: extension and implementation.
- Interfaces and the implementation of interfaces. Polymorphism and its utilisation.
- Extension. Defining derived classes, constructors, and references. Aspects of methodology. Constructing hierarchies of classes. Code factorisation: abstract classes.
- Simultaneous use of implementation and extension. Abstract classes. Aspects of methodology: Regrouping constants, specifying services. Constructing hierarchies of classes and interfaces.
Designing and constructing a hierarchy of classes and interfaces.Implementing polymorphism and genericity in the case study.
- The try blocks, generating exceptions.
- The catch selection algorithm ().
- Aspects of methodology: constructing an exception hierarchy, using exceptions.
Introducing exceptions into the case study.
- The hierarchy of input/output classes.
- Some file system manipulation classes.
- Some input/output classes working on byte flows, character flows.
- Keyboard input/output.
- Basic concepts: the principles of displaying and managing events from jdk1.1.
- Displaying graphics components: containers and Layouts.
- Some graphics components: labels, buttons, text areas.
- Handling events: Listeners and Adapters. The relationship of handlers to graphics components.
- Applets: principles, life cycle, etc.
- The Applet class.
- Integrating them in a HTML page.
- System classes.
- Container classes.
■ Input/output programming
■ Graphics programming
■ Programming applets
■ Some utility classes
- The new loop instruction.
- Enumerated types, autoboxing.
- Methods with a variable number of arguments.
- Static imports.
- Generic types.