MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

public class MainClass {

    public static void main(String[] args) {

        double x = 27.5, y = 33.75;

        System.out.printf("x = %15f y = %8g", x, y);

    }
}