MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
 * 3.1622776601683795
 * */

public class MainClass {
    public static void main(String args[]) {
        System.out.println(Math.sqrt(10));
    }
}