|
Outline
Getting started
Programming basics
The Java platform
Installing Java
Language syntax and conventions
Using data in a program
Constants and variables
Data types and character sets
Methods, classes, and objects
Methods
Classes
Advanced object concepts
Blocks and scope
Method overloading
Constants
Prewritten imported methods
Input and selection
Keyboard input
Control flow statements
Operators
Loops
Loop structures
For and nested loops
| Characters and strings
Strings
The StringBuffer class
Arrays
Introduction to arrays
Arrays of objects
Searching an array
Array manipulations
Manipulating an array
Sorting arrays
Two-dimensional arrays
Applets
Applets and HTML documents
Applets with Swing components
Event-driven programming
Event-driven programming in applets
Life cycle of a Swing applet
Enhancing a Swing applet
Graphics
Basic graphic methods
More about graphics
Drawing objects
Adding sound, images, and animations
Introduction to inheritance
Inheritance
Superclasses
Information hiding and protection
Advanced inheritance concepts
Abstract classes
Array of objects and comparing objects
Interfaces and packages
Swing components
Frames
Swing event listeners
Layout managers and events
Layout managers and JPanel
Events and event handling
Exception handling
Exceptions
Error handling methods
Call stack and user-defined exceptions
File input and output
Files and streams
Input and output
Multithreading and animations
Multithreading
Animations
|
After completing this course, students will know how to:
- Describe the basic and object-oriented programming concepts, the Java platform,
and types of Java programs, as well as how to install and configure the Java
SDK.
- Use constants, variables, and various data types.
- Create and use methods, classes, and instantiate objects from classes.
- Define blocks and scope of a variable, overload methods and constructors, and
work with constants.
- Accept keyboard input, use the JOptionPane class, draw flowcharts and make
decisions by using if...else and switch statements, use AND, OR, conditional,
and NOT operators, and their order of precedence.
- Use while loops, do?while loops, shortcut arithmetic operators, for loops and,
nested loops.
- Manipulate characters and use String methods and the StringBuffer class.
- Declare, initialize an array, declare and create an array of objects, and
search an array.
- Pass arrays to methods, use the length field, create an array of strings,
sortarrays, and create two-dimensional and multidimensional arrays.
- Create HTML documents to run applets containing AWT components and create
applets with Swing components.
- Define event-driven programming and handle events with Swing components,
identify the life cycle of an applet, and enhance Swing applets.
- Implement basic graphic methods, draw lines, rectangles, ovals, arcs and
polygons, and add sound, images, and animations to Swing applets.
- Implement inheritance and extend classes, override superclass methods, and use
information hiding and protection.
- Create abstract classes and use dynamic method binding, create an array of
objects, compare objects, and create interfaces and packages.
- Use the JFrame and JPanel class, use the Swing event listeners and Swing
components.
- Use layout managers, JPanel and AWTEvent class methods, and handle mouse events.
- Throw and catch exceptions, specify and handle exceptions, and trace and create
your own exceptions.
- Use the File class and streams; write to and read from a file.
- Implement multithreading, create and use animations.
|