Introduction To Java: Hello World

Quiz
•
Computers
•
7th - 12th Grade
•
Hard
Genius Empire
Used 15+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JAVA?
Programming language
Games
Script
Interface
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public class HelloWorld {
public static void main(String[] args) {
}
}
What is the output?
HelloWorld
Hello World
Error message
No output
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java programs have at least one X and one main() X. What is X?
Class and compiler
compiler and method
class and method
compiler and output
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
System.out.print("Two...");
System.out.println("One...");
What is the output?
Two...
One...
One...Two...
One...Two
Two...One...
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the right symbol for comment?
||
\\
//
**
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one is the incorrect line of code?
public class Monkey{}
public static void main[String() args]{}
String monkey=" monkey has 2 legs);
System.out.println("Monkey is cute");
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of compiling process?
Get the output
Print the output
Run the code
Catches the mistake
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
High and Low level languages and translators

Quiz
•
9th Grade
10 questions
Programming - Tour of IDE

Quiz
•
3rd - 12th Grade
15 questions
Algorithm

Quiz
•
10th - 11th Grade
15 questions
OOP in java

Quiz
•
12th Grade
9 questions
Information Technology 2 Unit 2

Quiz
•
3rd - 11th Grade
15 questions
MM - JavaScript

Quiz
•
12th Grade
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th Grade
15 questions
Latihan_106

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade