Java Programming
Start Date: 20/11/2025
Course Overview
This hands-on course is designed for the programmer who wants to learn Java. The course is designed to give the programmer a good introduction to one of the most popular and varied programming languages available today. The use of classes in Java is explained. Exception handling, memory management, multithreaded programming, input-output, JDBC and the Java GUI are all introduced.
Who should attend?
Programmers wanting to learn Java.Prerequisite:
Some programming experience. An understanding of object oriented programming.
Course Outline:
1. Introduction
• Pros and Cons of Java
• Introduction to the Java Language
• The Java Virtual Machine
• Working in the Java Environment
• Understanding the Java byte code
• Writing your first “Hello, World” program
2. Java Data Types and Sizes
• Variables
• Handling arrays
• Type conversions and casting
3. Operators
• Arithmetic operators
• Increment/decrement operators
• Relational operators
• Logical operators
4. Control Statements
• Conditional statements (if-then-else)
• Using switch
• For
• While
• Do-while
• Breaking
• Continuing from loops
5. Classes
• Defining classes
• Using classes to create objects
• Writing methods with parameters
6. Constructors
• Overloading constructors
• Access control – private
• Public
• Protected and default
• Static variables and methods
• Final
• String object
• Using command line arguments
7. Inheritance
• Super and subclasses
• Polymorphism – method overriding
• Abstract classes
• Packages and import statements
• Encapsulation and access protection
• Using interfaces
8. Arrays and Strings
• Array of native type values
• Array of objects
• Square brackets position
• Copying array values
• Multi dimensional arrays
• The length variable
• String class: instantiating, comparing
• toString()
• StringBuffer, StringBuilder and StringTokenizer
• Passing arguments
9. Exception Handling
• Exceptions and errors
• Throwing and re-throwing
• Try and Catch
• Handling exceptions
• Exception Class Hierarchy
• Checked and unchecked exceptions
• System and application exceptions
• Custom exceptions
• Memory management in Java11. Java Wrapper Classes
• Integer
• Float
• Boolean
• Using Java String
• StringBuffer
• StringTokenizer
• Classes12. Collections Framework
• Understanding Collections
• List
• Set
• Sorted Interfaces
• Different types of data structures
• ArrayList
• Linked list
• Hash table
• TreeSet13. Multithreaded Programming
• Multithreading framework of Java
• The synchronized keyword
• Wait/Notify mechanism
• Re-using threads using a “Thread Pool”14. Java GUI
• Swing Basics and the Composite design patterns
• The Model-View-Controller architecture
– and Observer Pattern
• Event handling in Java and Observer Pattern
• Drawing API
• Complex swing components such as JList, JTable, Writing Renderers and Editors
• Multi threading and GUI
15. Java File IO
• Character and byte streams
• Object serialization and de-serialization
• Reading and writing to a properties file
16. JDBC
• Overview of JDBC architecture
• JDBC driver types
• Loading a driver
• Connecting to a database
• Communicating with the database using SQL queries
• Using the Statement class
• Using the PreparedStatement class
• Creating and inserting into tables
• Retrieving and displaying results
• Transaction handling
17. Summary