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
9 questions
Java Interface Quiz

Quiz
•
University
10 questions
Python-Matrix-Reloaded-Workshop

Quiz
•
University
15 questions
Mocademy - Quiz 2

Quiz
•
University
10 questions
pointers and structures

Quiz
•
University
10 questions
C and Java Programming Quiz

Quiz
•
University
13 questions
Chapter 6: Spreadsheet

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
10 questions
Evaluasi Materi Pointer pada C++

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 Computers
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