USN
Java quiz-2024-Sec-B

Quiz
•
Computers
•
University
•
Medium
Shubha V
Used 5+ times
FREE Resource
12 questions
Show all answers
1.
OPEN ENDED QUESTION
1 min • Ungraded
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
1 min • Ungraded
NAME
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the code give below:
class yes
{
public static void main(String[] args)
{
int Integer = 24;
char String = 'I';
System.out.print(Integer);
System.out.print(String);
}}
24I
24
Compiler error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a Java feature?
Object-oriented
Use of pointers
Portable
Dynamic and Extensible
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Java Implements Runtime Polymorphism through
method overloading
method overriding
Dynamic method Dispatch
none of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
is used to resolve name space collisions
super
object
This
all of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code
public void method(double a)
{
System.out.println("Method called");
}
public static void main()
{ method(2);
}
Method called
compilation error
runtime error
none of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Java Inheritance

Quiz
•
11th Grade - University
10 questions
Object/Abstract/Final in JAVA

Quiz
•
University
10 questions
Java variables

Quiz
•
University
12 questions
Java Class vocabulary

Quiz
•
9th Grade - University
10 questions
Java Static

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
9 questions
Java Programming Structures

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade