001-001-016
Short Declaration
Easy
Problem Description
Short Declaration
In this problem, you will create a program that stores the maximum value of short type (32767) in a variable and displays the result to standard output.
Learning Objective: Understand the basics of short declaration
Overview
Implement short declaration and display the result.
Output Format
Limit: 32767
Test Cases
※ Output examples follow programming industry standards
Normal case
Input:
Expected Output:
Limit: 32767
Normal case
Input:
Expected Output:
Limit: 32767
Your Solution
Current Mode:● My Code
99
1
2
3
4
5
6
7
8
9
10
›
⌄
⌄
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
