Java Training Course: Difference between revisions

From tehowiki
Jump to navigation Jump to search
imported>Gfis
JT06
imported>Gfis
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
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 '''[https://www.compilejava.net/ 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 [http://noeticforce.com/online-java-compiler-and-editors comparision] of such online Java compilers, among them:
* [https://www.jdoodle.com/online-java-compiler jdoodle.com]
* [http://www.browxy.com/ browxy.com]
===Prerequisites===
===Prerequisites===
A more conventional setup is to develop on a personal workstation with a Java SDK.
* '''[[Java Training Course/JT01|JT01]]''' Installation of the Java SDK
* '''[[Java Training Course/JT01|JT01]]''' Installation of the Java SDK
* '''[[Java Training Course/JT02|JT02]]''' "Hello, World!"
* '''[[Java Training Course/JT02|JT02]]''' "Hello, World!"
Line 7: 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''
===[[Java_Training_Course/Example_Programs|Example Programs]]===
===[[Java_Training_Course/Java_Language_Keywords|Java Language Keywords]]===

Latest revision as of 02:29, 15 November 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

Example Programs

Java Language Keywords