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
Quiz tentang Google Colab

Quiz
•
10th Grade - University
18 questions
Codean - Java Rekursi

Quiz
•
University
20 questions
RIDDLE_IT_OUT

Quiz
•
University
16 questions
Understanding Assembly Language , Algorithms ,pseudocode

Quiz
•
University
11 questions
Arduino Basics: Inputs and Outputs Quiz

Quiz
•
12th Grade - University
15 questions
CMDP2063 Unix and C Programming

Quiz
•
University
11 questions
TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

Quiz
•
University
15 questions
Python Loop

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade