
UNIT1
Quiz
•
Engineering
•
University
•
Practice Problem
•
Medium
VIJAYALAKSHMI A
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a feature of OOP?
Encapsulation
Inheritance
Compilation
Polymorphism
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java supports multiple inheritance using:
class
abstract class
interface
object
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyword to inherit class
this
extends
super
implements
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 2;
x *= 3 + 4;
System.out.println(x);
14
10
6
Compilation error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System.out.println(10 + 20 + "Java" + 10 + 20);
30Java1020
Java102030
Java30
Compilation error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly creates an object in Java?
MyClass obj = MyClass();
obj = new MyClass;
MyClass obj = new MyClass();
class MyClass = new Object();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is true about abstract classes?
They can be instantiated
They can't have any method body
They can have both abstract and non-abstract methods
They are always final
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Computer Networks CT-3
Quiz
•
University
20 questions
Quiz Modul 2 Shift 1 Prakstat
Quiz
•
University
20 questions
Natural Language Processing CT-3
Quiz
•
University
20 questions
Operating System
Quiz
•
University
15 questions
SEM-2(Python-Q1)
Quiz
•
University
21 questions
AI quiz 3
Quiz
•
University
20 questions
BE23CS407 - Design and Analysis of Algorithms (Unit-1)
Quiz
•
University
15 questions
TOPIC 1-Materials and Prestressing Applications
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
