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
USN
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 Wayground
10 questions
Java Inheritance

Quiz
•
11th Grade - University
10 questions
exception

Quiz
•
University
10 questions
Java Quiz 1

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
15 questions
Java Method

Quiz
•
University
10 questions
Java - Introduction

Quiz
•
University
10 questions
Java variables

Quiz
•
University
12 questions
Java Class vocabulary

Quiz
•
9th Grade - 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