Java_MCQ_3

Quiz
•
Information Technology (IT)
•
University
•
Hard
Dinesh Kushwaha
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of this statement is incorrect?
All object of a class are allotted memory for the all the variables defined in the class
If a function is defined public it can be accessed by object of other class by inheritation
main() method must be made public
All object of a class are allotted memory for the methods defined in the class
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Java code?
0 0
5 6
6 5
5 5
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following Java code?
5
0
Garbage Value
-1
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following Java code?
5
0
Garbage Value
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When does Exceptions in Java arises in code sequence?
Run Time
Compilation Time
Can Occur Any Time
None of the mentioned
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following Java code?
Garbage value
7 5
5 7
5
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Java program?
Hello
World
HelloWorld
Hello World
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PPL 223 (QUIZ 1) Introduction to Programming Languages

Quiz
•
University
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
10 questions
Java Quiz 1 in tamil theme

Quiz
•
University
10 questions
Quiz on Basics of C

Quiz
•
University
10 questions
Collections

Quiz
•
University
10 questions
ASESMEN FORMATIF INFORMATIKA X DPB 2

Quiz
•
10th Grade - University
11 questions
CodeQuest TechTopia 2025-26

Quiz
•
University
15 questions
Event Handling Quiz

Quiz
•
University
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 Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University