What is the result of the following program execution?

import static java.lang.Math.*;

public class StartClass {
    public static void main(String[] args) {
        System.out.println(max(1, 2)); 
    }
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes