Öppna kurser

Introduction to Java Programming

In this Introduction to Java Programming training course, you gain extensive hands-on experience writing, compiling, and executing Java programs. You will learn to build robust applications that use Java’s object-oriented features. Java is known for reliability, maintainability, and ease of development. Its unique architecture enables programmers to develop a single application that can seamlessly run across multiple platforms. Attend this course and learn to leverage these key features.

Kursmål

  • Design and build robust, object-oriented applications
  • Organise complex data using Java collections
  • Access any relational database using JDBC
  • Read/write files and handle exceptions

Förkunskaper

  • Three to six months of experience in a high-level programming language, such as C, Pascal, or Visual Basic
  • Familiarity with web technologies and object concepts
  • You should know how to:
    • Structure data
    • Use variables, flow-control statements, and subroutines
    • Write, compile, and execute a program

Kursinnehåll

Module 1: Introduction to Java Programming

  • Stand-alone applications and servlets
  • Compiling source code into bytecode
  • Overview of class libraries

Module 2: Object- Oriented Programming with Java

The object paradigm

  • Encapsulation, inheritance, and polymorphism
  • OO analysis and design: "Is a" and "Has a"
  • 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

Module 3: Structure of the Java Language

Language syntax

  • Declaring and initialising variables
  • Declaring and using arrays
  • Upcasting, downcasting, and autoboxing

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
  • Organising classes with packages and modifiers
  • Composition vs inheritance

Building the components of a Java program

  • Leveraging generics with the collections API
  • Developing new classes
  • Compiling and debugging

Module 4: Developing GUIs

Foundations of user interfaces

  • Basic GUI widgets
  • Event-driven programming
  • Benefits of a portable windowing library

Java Foundation Classes (JFC)

  • Creating Swing components
  • Adding Swing components to containers
  • Arranging Swing components using layout managers
  • Dialogues and message boxes

Event handling

  • Registering event handlers
  • Inner classes and top-level classes

Module 5: Storing and Retrieving Data with File I/O

Java streams

  • Streams, Readers, and Writers
  • Catching and throwing exceptions
  • Formatting text output

Files and directories

  • Reading and writing files
  • Creating, deleting, and renaming files
  • Obtaining directory and file information

Module 6: Working with Relational Databases

JDBC database access

  • Leveraging the JDBC API
  • Choosing database drivers
  • Connecting to a database

Improving performance with prepared statements and stored procedures

  • Submitting SQL statements
  • Retrieving and processing results

Module 7: Java Development Tools

  • Java Development Kit (JDK)
  • Compiler (javac)
  • Javadoc utility
  • Java Archive (JAR) utility
  • Java Integrated Development Environments (IDEs)

 


Kursen levereras genom utbildningspartner: Learning Tree
Learning-Tree-Logo_horizontal.png