MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
Max of -8 and -4 is -4 
 */

public class MainClass {
    public static void main(String args[]) {
        System.out.println("Max of -8 and -4 is " + Math.max(-8, -4));
    }
}