Java Training Course

From tehowiki
Revision as of 09:06, 25 September 2017 by imported>Gfis
Jump to navigation Jump to search

Welcome to the Java Training Course at teherba.org. Inhalation of some Java coffee will definitely help you in the following sessions, which are all described in separate pages. The corresponding discussion pages show the solutions and additional explanations.

Online Java ompiler and Runtime

The simple programs at the beginning of the course may be compiled and run online with the hOnline Java IDE for free. Simply write the Java program with the text editor of your choice (Notepad on Windows, (g)vim on Linux), paste the code into the Online IDE window, enter commandline parameters, and press the button Compile & Execute. After a few seconds, you will see the results of the Java compiler and the program execution.

Prerequisites

A more conventional setup is to develop on a personal workstation with a Java SDK.

  • JT01 Installation of the Java SDK
  • JT02 "Hello, World!"

Elementary Java Programming

  • JT03 Main Arguments and String Concatenation
  • JT04 Integer Arithmetic
  • JT05 Control Structures: The Greatest Common Divisor Algorithm
  • JT06 Skeleton of Class Rational