Java Training Course: Difference between revisions

From tehowiki
Jump to navigation Jump to search
imported>Gfis
more online IDEs
imported>Gfis
No edit summary
Line 15: Line 15:
* '''[[Java Training Course/JT04|JT04]]''' Integer Arithmetic
* '''[[Java Training Course/JT04|JT04]]''' Integer Arithmetic
* '''[[Java Training Course/JT05|JT05]]''' Control Structures: The Greatest Common Divisor Algorithm
* '''[[Java Training Course/JT05|JT05]]''' Control Structures: The Greatest Common Divisor Algorithm
* '''[[Java Training Course/JT06|JT06]]''' Skeleton of Class ''Rational''
* '''[[Java Training Course/JT06|JT06]]''' Preliminary Class ''Ratio''
* '''[[Java Training Course/JT07|JT07]]''' Class ''Rational''

Revision as of 19:26, 26 September 2017

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 Interactive Development Environment

In the beginning, we can use the free Online Java IDE to compile and run Java programs. 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 arguments, and press the button Compile & Execute. After a few seconds, you will see the output of the Java compiler and - if the compilation was successful - of the program execution.

There is a comparision of such online Java compilers, among them:

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 Preliminary Class Ratio
  • JT07 Class Rational