Choose from below non-mandatory (not MUST) component of a Java Program.
JAVA: Level-1

Quiz
•
Computers, Education
•
5th - 12th Grade
•
Hard
Amol Karpe
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Class name
main method
print method
All of the above
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Choose correct signature of main method.
public static int main(String[] args)
private static void main(String[] args)
public static void main(int[] args)
public static void main(String[] args)
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Java Array, index starts from
1
0
-1
-2
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will be output of following code -
public static void main(String[] args) {
System.out.print("Hello");
System.out.println("How are you?");
}
Error
Hello
How are you?
HelloHow are you?
How are you?Hello
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Java, which of the following Loop executes at least once -
for Loop
while Loop
do...while Loop
None of the above
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What will be the output of following code -
public static void main(String[] args) {
byte b = 135;
System.out.println(b * 2);
}
135
270
135 * 2
Compilation Error
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
to assign a value as "2.5", which data type I can use
int
boolean
char
float
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Java Level 1 - A

Quiz
•
12th Grade
20 questions
Java OOP Connections

Quiz
•
10th - 12th Grade
20 questions
terstruktur

Quiz
•
10th Grade
16 questions
Java Основи

Quiz
•
11th Grade - University
10 questions
Programming in Java

Quiz
•
8th Grade
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
20 questions
3rd Qtr QUIZ1 COMPUTER PROGRAMMING-Strings in Java-2-22-2023

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade