Beginner
    Image

    Java is a programming language (♦ see DEF. ) multiplatform and object oriented, created in 1995. The Oracle company owns the Java technology, after having bought it from Sun Microsystems.

    Java allows you to create, among other things, Web App. and websites, software and games .

    Code Examples

    We start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be.

    C 0001 - Hello World !

    Say hello...Watch out for the indentation !
    public class Main {
      public static void main(String[] args) {
        System.out.println("Hello World !");
      }
    }
    

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.

    When you copy your code, replace the existing code (by default) with your own.

    Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

    C 0002 - Variables

    Crate a variable...
    Watch out for the indentation !
    public class Main {
      public static void main(String[] args) {
        String name = "John";
        System.out.println(name);
      }
    }
    

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.

    When you copy your code, replace the existing code (by default) with your own.

    Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

    C 0003 - Types of informations

    Notice the differences...
    Watch out for the indentation !
    public class Main {
      public static void main(String[] args) {
        int myNum = 10;               // Integer
        float myFloatNum = 3.99f;    // Floating point
        char myLetter = 'F';         // Character
        boolean myBool = true;       // Boolean
        String myText = "Bonjour tout le monde !";     // String
        System.out.println(myNum);
        System.out.println(myFloatNum);
        System.out.println(myLetter);
        System.out.println(myBool);
        System.out.println(myText);
      }
    }
    

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.

    When you copy your code, replace the existing code (by default) with your own.

    Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

    C 0004 - Declarations and Statements

    Compare two digits...
    Watch out for the indentation !
    public class Main {
      public static void main(String[] args) {
        int x = 60;
        int y = 28;
        if (x > y) {
          System.out.println("x is bigger than y");
        }  
      }
    }
    

    Reproduce this code, choosing one of the compilers below (♦ See DEF.) (don't copy-paste! It would be too easy). They have the same function, just pick up one according to your preferences.

    When you copy your code, replace the existing code (by default) with your own.

    Warning ! For some of these compilers, you might have to choose the programming language yourself, in a specific menu which is offered to you. Of course, don't forget to click on RUN !

    Info+

    Creation
    » Creation date: 1995
    * Created by James Gosling and Patrick Naughton (Sun Microsystems)
    * Developed by Oracle Corporation

    * Influenced by Objective C, C ++ and UCSD Pascal
    * Cross-platform
    * GNU GPLV2 + CPE license

    Tools & Levels

    Software & Frameworks

    Practical cases

    In order to train you, we add small programs every week to this section in order to keep you up to speed.

    CASE 1

    BASIC LEVEL

    Preparing a working environment

    These recommendations will get you started with Java, as comfortably as possible.

    TRY

    CASE 2

    INTERMEDIATE LEVEL

    Create a Web App.

    This little kit will allow you to design a Web. App. in the field of online booking sales.

    TRY

    CASE 3

    EXPERT LEVEL

    Make a small video game

    Designing and developing an arcade video game...

    TRY

    2021 (C) Fond of Code tm (official trademark) - Reflex002 / Diego Piccini (da Todi).
    All rights reserved. Protected editorial content (www.theethicalweb.com) / INPI France.

    About Us...

    About Us...
    Reflex002

    O-O
    Programming
    Development

    Main Topics

    Main Topics

    Legal/Support

    Legal/Support
    Image
    © Copyright 2022 Reflex002. Designed By Art and Earth Networks and Technology / Diego Piccini / Piccini da Todi G&D Studio