COURSE SEARCH
 
   HOME > COURSES > INTRODUCTION TO JAVA PROGRAMMING MEMBERS LOGIN 
UNLIMITED ACCESS TO OVER 575 ONLINE TRAINING COURSES FOR ONE ANNUAL PAYMENT OF ONLY $149 USD
BUY NOW
  HOME     COURSE LIBRARY     QUESTIONS & ANSWERS     CONTACT US
There are many excellent online courses. This has been hugely beneficial in my day to day work.
- Louise Nolan


Introduction to Java Programming




Course Aims
The aims of this Java training courses is to understand the role that Java plays on the Internet; describe the benefits and methodology of object-oriented programming; use the Java Development Kit and Symantec Café to develop Java programs; develop a Java applet to run from a Web page; use the on-line documentation and debugging tools that are available for Java; embellish a Java applet with graphics and sound; create an interactive Java applet; create a graphical user interface with Java; handle run-time exceptions.
Assumed Knowledge
The prerequisites for this training course is to have extensive experience (at least 1 year) in a standard procedural programming language, such as C, Pascal, or Basic. Experience in an object-oriented language such as C++ or Smalltalk is an advantage, but is not required. Experience in developing applications in a modern integrated development environment, such as Visual Basic, Visual C++, or Delphi. Experience in using an Internet browser. Some familiarity with HTML is an advantage, but is not required. Familiarity with the Windows 95 / Windows NT 4.0 user interface.
Course Audience
This class is designed for programmers with no Java experience who want to develop applications in Java; Web page developers who want to add Java applets to Web pages; programmers with some Java experience who want to learn how to use Symantec Café; and persons interested in evaluating the capabilities and features of Java.

This course can be found in the following categories:
Courses > Programming > Java
Courses > Web Development

Table of Contents
Introduction to Java and OOPS
  • Introduction
  • Features of Java
  • Applications and Applets
  • Hello World - Your First Java Application
  • Object-Oriented Programming Concepts
  • Object
  • Encapsulation
  • Messages
  • Classes
  • Inheritance
     
    Programming in Java
  • Examining Hello World
  • Braces and Blocks
  • Comments
  • Data and Variables
  • Command Line Arguments
  • Variables
  • Data Types
  • Variable Names
  • Variable’s Scope
  • Variable Initialization
  • Final Variables
  • Operators
  • Arithmetic Operators
  • Relational and Conditional Operators
  • Bitwise Operators
  • Assignment Operators
  • Expressions
  • Control Flow Statements
  • Statement Block
  • The if-else Statement
  • The switch Statement
  • Loop Statements
  • Exception Handling Statements
  • Branching Statements
  • Example 1: Conditional Operator
  • Example 2: For Loop
  • Example 3: While Loop
  • Example 4: Breaking out of a Loop
     
    Arrays
  • Arrays
  • Creating Arrays
  • Two Dimensional Arrays
  • Declaring, Allocating and Initializing two dimensional arrays
  • Multi-Dimensional Arrays
  • Unbalanced Arrays
  • Searching an Array
  • Sorting
  • Bubble Sort
  • Summary
  • Example 1: Single Dimensional Array
  • Example 2: Multi Dimensional Array
     
    Objects and Classes in Java - Part 1
  • Introduction to Classes
  • Creating Objects
  • Declaring an Object
  • Instantiating an Object
  • Initialising an Object
  • Using Objects
  • Referencing an Object’s Variables
  • Calling an Object’s Method
  • Cleaning up unused Objects
  • The garbage collector
  • Finalisation
     
    Objects and Classes in Java - Part I1
  • Creating Classes
  • The Class Declaration
  • The Class Body
  • Providing Constructors for your Classes
  • Declaring Member Variables
  • Implementing Methods
  • Details of a method declaration
  • Returning the value from a Method
  • A Method’s name
  • Passing information into a Method
  • Arguments Type
  • Arguments Name
  • Pass by value
  • The Method Body
  • Controlling Access to the Members of a Class
  • Instance and Class Members
  • Initialising Instance and Class Members
     
    More features of Java language
  • Managing Inheritance
  • Understanding Inheritance
  • Overriding Methods
  • Being a Descendent of an Object
  • Writing Final Classes and Methods
  • Creating Interfaces
  • Uses of Interface
  • Defining an Interface
  • Implementing the Interface
  • Using an Interface as a Type
  • Implementing Nested Interface
  • Inner Classes
  • Packages
  • Creating a Package
  • Naming a Package
  • Using Package members
     
    More about Methods
  • Constructor Methods
  • Example - A line class with 3 constructors
  • Copy Constructors
  • Example - Duplicating a Point Object
  • Default Constructors
  • Example - A class to represent Coin Purses
  • Method Overloading
  • This in Constructors
  • Method Overriding
  • The finalize() Method
  • Garbage Collection Illustrated
     
    Applets - Part I: Introduction
  • Applets
  • Hello World - The Applet
  • Examining the Hello World Applet
  • The Applet HTML tag
  • Passing Parameters to Applets
  • Events and Applets
  • The Events
     
    AWT Components
  • AWT Component Overview
  • Adding Components to Applets
  • AWT Components
  • Label
  • Button
  • Choice
  • List
  • TextField
  • TextArea
  • Conclusion
  • Example 1
  • Example 2
  • Example 3
  • Example 4
  • Example 5
  • Example 6
  • Example 7
  • Example 8
     
    Applets - Part II: Graphics
  • Drawing Rectangles
  • Example: Drawing a Rectangle on screen
  • Example: Filled Rectangle
  • Example: Non-square Rectangle
  • Example: Rectangles at random
  • Example: Colorful Rectangle
  • Example: Randomly Colored Rectangle
  • Example: Multiple Rectangles
  • Example: Drawing Many Random Rectangles
  • Example: Drawing Lines
  • Example: Rectangles, Ovals and Arcs
  • Example: Stoppable Thread Applet
  • Example: Colors Applet
  • Example: StackedText Applet
     
    Animations and Sound in Java
  • Animations and Images
  • A Simple Animation
  • A Graphics Animation
  • Improving Animation display qualities
  • An updated graphics animation applet
  • Retrieving and Using Images
  • Displaying Bit-mapped Images
  • The DisplayImage Applet
  • The Draw Applet
  • Retrieving and Using Sounds
  • Simple Sound Playback
  • Loading Sound into AudioClip Objects
    The String and StringBuffer Classes
  • The String and StringBuffer Classes
  • Example
  • Creating a String
  • Creating a StringBuffer
  • Accessor Methods
  • More Accessor Methods
  • Modifying StringBuffers
  • Inserting Characters
  • Setting Characters
  • Converting Objects to Strings
  • Converting Strings to Numbers
  • Strings and the Java Compiler
     
    System Attributes
  • Setting System Attributes
  • Using Properties to Manage Program Attributes
  • Setting up your Properties Object
  • Saving Properties
  • Getting Property Information
  • Setting Properties
  • Command Line Arguments
  • Echoing Command-Line Arguments
  • Parsing Numeric Command-Line Arguments
  • Using the System Class
  • The Standard I/O Streams
  • The print, println and write Methods
  • Arguments to print and println
  • Printing Objects of different data types
  • System Properties
  • Reading System Properties
  • Writing System Properties
  • Forcing, Finalization and Garbage Collection
     
    Multithreading
  • Thread
  • Creating Threads
  • Programming using Threads
  • Multithreading
  • Thread States
  • Putting Threads to Work
  • Setting Thread Properties
  • Thread Properties
  • Concept of Synchronisation in Threads
  • Deadlocks in Threads
  • Advantage of multithreading in Java over c and c++
  • Instrcutor-led Exercises
  • Further user exercises
     
    Reader, Writer, InputStream and OutputStream
  • I/O Streams
  • Using the data sink streams
  • How to use file streams
  • How to use pipe streams
  • Using the processing streams
  • How to concatenate files
  • Working with Filtered Streams
  • How to use Filtered Streams
  • Using DataInputStream and DataOutputStream
  • Writing your own filtered streams
  • Object Serialization
  • Serializing Objects
  • Working with random access files
  • Using random access files
  • Writing Filters for random access files
     
    Java Examples - Part 1
  • Example 1: Java Applet: Display date and time
  • Example 2: Java Application: Calling a Constructor
  • Example 3: Java Application: Reading from a file
  • Example 4: Java Application: Display date and time
  • Example 5: Java Applet: Use of mouseUp & mouseDown to draw line
  • Example 6: Java Applet: Using Layout Manager
  • Example 7: Java Applet: Changing background color
  • Example 8: Using Frame
  • Example 9: Using Frame
  • Example 10: Java Application: Display Age
  • Example 11: Java Applet: Find no. Of vowels in a string
  • Example 12: Java Application: Constructor and Destructor
  • Example 13: Demonstration of Inheritance
  • Example 14: Java Application: Find no. Of vowels in a string
  • Example 15: Java Application: Reading a file
  • Example 16: Java Applet: Find age when year of birth is input
  • Example 17: Java Applet: String manipulation
  • Example 18: Java Applet: Using choice and list
  • Example 19: Java Application: Constructor and Destructor
     
    Java Examples - Part 2
  • Interface
  • Example 1: Implementing an Interface
  • Example 2: Partial Implementation of an interface in a class
  • Example 3: Declaring Variables as Object reference
  • Example 4: Declaring Variables
  • Example 5: Extending (Inheriting) the methods in an interface
  • Exception
  • Example 6: Implementing Exception with Try and Catch block
  • Example 7: The Catch Clause
  • Example 8: Describing an Exception
  • Example 9: Multiple Catch Clause
  • Example 10: Using Nested Try Statements
  • Example 11: Throw Statement
  • Example 12: Throw Statement
  • Example 13: Using Finally clause in the Try and Catch Block
  • Example 14: Creating User defined Exception
  • String Handling
  • Example 15: Constructing a String from a subset of character array
  • Example 16: Constructing one string from another
  • Example 17: Concatenating Strings with other data types
  • Example 18: Implementation of toString() method
  • Example 19: Character extraction from a String
  • Example 20: String Comparision
  • Example 21: String Search
  • Lang Classes
  • Example 22: Using Double Class Method
  • Example 23: Using Float Class Method
  • Example 24: Using Integer Class Method
  • Example 25: Using Long Class Method
  • Example 26: Using Character Class Method
  • Multithreading
  • Example 27: A Simple program
  • Example 28: Example Illustrating Multithreading
  • Example 29Example Illustrating Multithreading
  • Graphics, Font and Color
  • Example 30: Using graphics, fonts and color
  • Simple Animation and Threads
  • Example 31: Simple Animation and Threads
  • Example 32: Advanced Animation and Threads
  • Layout
  • Example 33: Border Layout
  • Example 34: Flow Layout
     
    Java Examples - Part 3
  • Example 1: Java Applet to check whether a string is Palindrome
  • Example 2: Java Application: Reversing Strings
  • Example 3: Java Applet: Reversing String
  • Example 4: Java Applet with HTML code embedded in it
  • Example 5: Multithreading Application
  • Example 6: Java Application to convert decimal to binary
  • Example 7: Java Application which demonstrates Stack
  • Example 8: Java Applet: Income Tax Calculation
  • Example 9: Java Application: Menus
     
    Java Examples - Part 4
  • Example 1: Java Applet to demonstrate ColorDialogBox and FontDialogBox
  • Example 2: Java Applet: Reading files from local file system
  • Example 3: Java Applet: Find Age for a given date
  • Example 4: Java Applet: String Reverse
  • Example 5: Java Applet: Decimal to Binary Conversion
  • Example 6: Java Applet with HTML embedded code
  • Example 7: Java Applet: Conversion
  • Example 8: Text Editor in Java
  • Example 9: Java Application: Change Issuing Machine
  • Example 10: Java Application: A Card Game
  • Example 11: Java Application: File copy and compare program
     
    Java Examples - Part 5
  • Example 1: Java Applet: Conversion
  • Example 2: Java Applet: Change Issuing Machine
  • Example 3: Java Applet: Spell Check
  • Example 4: Java Applet: Upper/Lower Case Conversion
  • Example 5: Java Application: Copy and Compare Files
  • Example 6: Java Application: Digital Calculator
  • Example 7: Java Applet to demonstrate the Paint Method
  • Example 8: Java Application: Sorting an Array
    TRY BEFORE YOU BUY BECOME A RESELLER
    Sunday 22nd November 2009  © COPYRIGHT 2009 - VISUALSOFT