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

    Let's start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be. However, you must pass the cape of 30 to 40 pages per level, before moving on to the next step... COPY AND IMMERSE YOURSELF!

    C 0001 - Hello World !

    Say hello...
    Reproduce this code (please do not copy-paste!). 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

    Playing with variables...
    Reproduce this code (please do not copy-paste!). 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

    Observe the differences...
    Reproduce this code (please do not copy-paste!). 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...
    Reproduce this code (please do not copy-paste!). 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 !

    Java Technical Specifications

    Most Recent Versions

    Frameworks

    Tools And Methodologies

    Testing

    Info+ (Java)

    Creation
    » Creation date : 1995
    * Created by James Gosling and Patrick Naughton (Sun Microsystems)
    * Developped by Oracle Corporation
    * Influenced by Objective C, C++ and UCSD Pascal
    * Cross-platform
    * GNU GPLV2+CPE licence

    Tools+ (Java)

    Softwares & Frameworks

    Practical Cases

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

    CASE 1

    BASIC LEVEL

    Prepare the work environment

    These recommendations will allow you to start as comfortably as possible with Java.

    ⇒ TRY

    CASE 2

    ADVANCED LEVEL

    Create a Web App.

    This small 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

    News

    2022 (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