
Java

Quiz
•
Other
•
University
•
Medium
N191080 SANKARAABHIRAM
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Find The Output of the Program ??
Compilation error
Runtime error
5 6 5 6
5 6 5
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the Output ?
1
120
0
None Of These
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Guess The Output ?
2 2
3 3
Compilation Error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When an array is passed to a method, what does the method receive?
The reference of the Array
The Copy of The Array
Copy of the first element
Length of the Array
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
101
100
None
Compilation Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
public class Main {
public static void main(String[] args) {
try {
int[] myNumbers = {1, 2, 3};
System.out.println(myNumbers[1]);
int a = 2 / myNumbers[4];
System.out.println(a);
} catch (Exception e) {
System.out.println("Index out of bounds.");
} finally {
System.out.println("The 'try catch' is finished.");
}
}
}
Find the Output
The 'try catch' is finished.
2
2
Index out of bounds.
The 'try catch' is finished.
None of These
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
public class MainClass
{
public static void main(String[] args)
{
C c = new C();
c.firstMethod();
c.secondMethod();
c.thirdMethod();
}
} Find the output ?
FIRST
SECOND
THIRD
FIRST
THIRD
THIRD
THIRD
FIRST
THIRD
SECOND
FIRST
THIRD
THIRD
THIRD
FIRST
SECOND
THIRD
FIRST
THIRD
THIRD
FIRST
THIRD
SECOND
FIRST
THIRD
THIRD
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Pengenalan Java dan OOP

Quiz
•
University
12 questions
Archivos en JAVA

Quiz
•
University
6 questions
TRICODE CHALLENGE

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
15 questions
Spring Semester Quiz 6

Quiz
•
University
8 questions
Basics of Python

Quiz
•
University
10 questions
Undertale AU

Quiz
•
5th Grade - University
13 questions
Porgramación

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University