Core Curriculum Details : Practical Java Programming

Practical Java Programming

The training is designed to introduce how to develop business applications using object-oriented design methodology with Java as an illustration programming language. It includes Object Oriented Programming paradigm and its use; classes, Objects, Abstraction and Encapsulation; Inheritance, Polymorphism, Creating Graphical User interfaces (GUIs), Data Structures, Exceptions(Try, catch, and throw, finally how exceptions affect the design of an application), File input/output (I/O), Threads and Java Database Connectivity.

Prerequisite

  • Trainees previous exposure to and skills in structured programming is assumed (although a review of the necessary basic programming notions is included).

Training Objectives

At the end of the training, trainees will be able to

  • Explain major concepts of object-oriented programming
  • Use OO design and program development within an integrated development environment
  • Use arrays and other data structures to develop applications
  • To demonstrate the concepts of encapsulation, inheritance
  • Implement I/O functionality to read from and write to data and text files.
  • Explain the application of a variety of data structures, understand the advantages and disadvantages of those structures
  • Implement object-oriented design concepts

In addition, a trainee will develop an application with the following features:

  • Object-oriented program with 5-10 classes in the Java language, using a large sub-set of the Java programming language; using file handling mechanisms; implements class relationships and utilising common data structures.


Lesson Plan

Week 1: Introduction and Foundation of Programing (Day 1 – Day 4)

  • Introduction at glance (Day 1)
    • Computer hard ware
      • Input and output hard ware
    • Computer software
      • Application software
      • System software
  • Program, Programing languages, Algorithms, Flowcharts

Foundation of Programming

Overview

The audience for this lecture is trainees that have no/little experience with programming in Java. The objective of this lecture is to provide the foundational knowledge of programing and prepare the students for advanced Java programing.

  • What you need to get started
  • The IntelliJ Idea software
  • The structure of java code
  • Printing the output window
  • How to run your Java program
  • Sharing your program with others

  • Variables (Day 2):
    • Integer, double, short and float
    • Operator precedence
    • Java string variables
  • Control Flow Day (Day 2-3):
    • If statement in Java
    • Opo If else statement
    • Boolean value
    • Switch statements
    • Java for loops
    • Java while loops
    • Do...while loop
  • Java methods (Day 4):
    • Java Methods
    • Calling your Java Methods
    • Passing Values to Methods
    • Multiple Method Parameters
  • Java Error handling (Day 4):
    • Error Handling and exception
    • Stack trace
    • Handling logic errors in Java

Week 2: String manipulation, Array and Date Time (Day 5 and Day 6)

  • Java arrays
  • Arrays and Loops
  • Sorting Arrays
  • Arrays and Strings
  • Multi-dimensional arrays
  • Array lists

  • Java and Strings
  • Upper and Lower Cases
  • The compare method
  • The indexOf method
  • The substring method
  • The equal method
  • The CharAt method
  • The replace method
  • Printing Format Strings

  • How to create a DateTime
  • Understand DateTime properties
  • How to add and subtract date and time using DateTime
  • Find days in a month and year
  • How to compare two dates, times or DateTime
  • How to format dates and times

  • Open and Read text files in Java
  • Write to a Text file in Java

Week 3: OOP in JAVA (Day 7-11)

Description: In this section, we will learn about basics of OOPs. Object Oriented Programming is a paradigm that provides many concepts such as inheritance, data binding, polymorphism etc

Week 4: Finalizing OOP in Java and Capstone project (Day 12 and Day 16)

The week for wrapping up and project work