001-003-014

Int Range

Easy

Problem Description

Int Range

In this problem, you will create a program that retrieves the maximum value of the int type using Integer.MAX_VALUE and displays the result to standard output.

Learning Objective: Understand the basics of int range

Overview

Use Java's Integer.MAX_VALUE constant to retrieve the maximum value of the int type and display it in the specified format.

Output Format

Max Int: 2147483647

Test Cases

※ Output examples follow programming industry standards

Normal case
Input:
Expected Output:
Max Int: 2147483647
problem.testType.stress
Input:
Expected Output:
Max Int: 2147483647

Your Solution

Current Mode: My Code
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// Write your code here

sc.close();
}
}
0 B / 5 MB

You have 10 free executions remaining