JAVA
(Level
I) ==>(Level
II)
Advantages of Java
- Platform independence
- Reusability and maintainability through object orientation
- Applications, applets and servlets
Structure of a Java program
- Compiling source code into bytecode
- Overview of class libraries
The object paradigm
- Object-oriented (OO) programming
- Encapsulation, inheritance and polymorphism
- OO analysis and design: "Is a" and "Has a"
relationships
- Designing an OO application step by step
- Diagramming object structure with Unified Modeling Language (UML)
Java's object-oriented features
- Instantiating objects from classes
- Aggregation and composition
- Extending existing classes
- Overloading and overriding methods
Language syntax
- Declaring and initializing variables
- Statements and expressions
- Declaring and using arrays
- Upcasting and downcasting
Flow control
- Invoking methods and passing parameters
- Conditionals and loops
- Handling exceptions with try and catch
Defining classes
- Fields (instance data)
- Methods (functions)
- Abstract classes and interfaces
- Organizing classes with packages and visibility modifiers
- Composition vs. inheritance
Building the components of a Java program
- Working with existing classes
- Extending base classes
- Developing new classes
- Compiling and debugging
Foundations of user interfaces
- Basic GUI widgets
- Event-driven programming
- Modal vs. non-modal interaction
Abstract Windowing Toolkit (AWT)
- The need for a portable windowing library
- Adding components to containers
- Arranging components using layout managers
Java Foundation Classes (JFC)
- Advantages of lightweight components
- Creating basic components: buttons, text fields, drop-down lists
- Dialogs and message boxes
Event handling
- Adapters and listeners
- Registering event handlers
- Inner classes and top-level classes
Building applets
- Embedding applets in Web pages
- The applet security model
- The applet life cycle: init(), start(), stop(), destroy()
- Deploying browser-independent applets with Java Plug-In
Java streams
- Streams, Readers and Writers
- Accessing files
Files and directories
- Creating, deleting and renaming files
- Obtaining directory and file information
- Java Development Kit (JDK)
- Compiler
- Appletviewer