![]() |
Java for Non-OO Programmers
|
Duration:
5 days |
| Participants: Programmers (especially mainframe programmers) for whom this is their first object-oriented language. |
|
Objectives:
Upon successful completion of this course you will be able to:
- Create intermediate-level Java programs using compiled statements and some classes in the core API and the AWT. - Use Java documentation to learn additional packages available with Java. |
|
Overview:
- This course provides a detailed introduction to Java, including thorough presentation of classes and objects. It is especially designed to give mainframe programmers a solid foundation in object-oriented concepts and how to implement these concepts in JAVA. - Students learn to use some classes of the Java core API and the Java AWT. They also create classes and class hierarchies of their own. Over 150 complete programs with input and output, or GUI display, illustrate how to use each topic. |
| Prerequisites: Programming in any language. |
| Format: Lecture and discussion (50%) with programming exercises (50%). |
|
Topic Outline:
- Overview of Java - Java Language Fundamentals Data types: literals, variables, operators Conditional and looping control structures Single and multi-dimensional arrays Method calls: value and reference parameters, return Strings: literals, variables, valueOf(), comparisons and other string operations Command line arguments and string argv[ ] - Classes and Objects Encapsulation and polymorphism The new operator and constructors this and super finalize() Modifiers: static, public, and private Inheritance Overriding versus overloading methods Abstract classes Final classes and methods - Compilation Units, Packages, and the import Directive - Interfaces - Exceptions finally Clause Standard exceptions in java.lang printStackTrace() - AWT: GUI Applications, Applets, and Java 1.1 Event Handling Executing applets in a web browser and in the appletviewer Applet methods Correlating events, listeners, methods, and components Adapter classes and anonymous inner classes Three layout managers Containers Buttons and labels Fonts and colors - Topics covered if time permits: Java API Wrapper classes for numbers Editing numbers Dates and calendars: Date, DateFormat, and Calendar Classes Vector, Stack, and StringBuffer classes File Input and Output java.io |
|
|