MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

public class MainClass {

    public static void main(String[] arg) {
        double a = 12.12;

        System.out.println(a--);
        System.out.println(a++);
        System.out.println(--a);
        System.out.println(++a);
    }

}