Hello World
Easy
Warmup
Time Limit: 1000ms
Memory Limit: 128MB
Problem Description
Write a function named print() inside class Solution that prints "Hello, World!".
Constraints
- Function must be named print()
- Must be inside class Solution
- No input required
- Output must exactly match "Hello, World!"
Input
No input required
Just call Solution.print() or create an object and call it
Output
Hello, World!
Loading...
Available Test Cases:4 test cases
Test Case 1Sample
Input:
N/A
Expected Output:
Hello, World!
Test Case 2Sample
Input:
N/A
Expected Output:
Hello, World!
⚠️ Hidden test case
Test Case 3Sample
Input:
N/A
Expected Output:
Hello, World!
⚠️ Hidden test case
Test Case 4Sample
Input:
N/A
Expected Output:
Hello, World!
⚠️ Hidden test case