
OOP Quiz #2

Quiz
•
Computers
•
University
•
Medium
inocencio madriaga
Used 24+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Composition is a
uses-a relationship
has-a relationship
is-a relationship
none of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the access level/s of a private modifier.
Class
Package
Subclass
World
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an instance of a class?
Class
Object
Reference
Primitive
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a primitive int data type?
-1
null
0
garbage data
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the given code. What would be the display on the screen?
Class A
Class B
Class C
Compile error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When Overloading does not occur?
More than one method with same name but different method signature and different number or type of parameters
More than one method with same name, same signature but different number of signature
More than one method with same name, same signature, same number of parameters but different type
More than one method with same name, same number of parameters and type but different signature
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords can be used to prevent Method overriding?
static
constant
protected
final
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Java Class vocabulary

Quiz
•
9th Grade - University
10 questions
ML Course Activity-II

Quiz
•
University
10 questions
Structure of Java Program

Quiz
•
University
10 questions
Java Basic Programming Quiz

Quiz
•
University
15 questions
Java Method

Quiz
•
University
10 questions
java quiz based on interface

Quiz
•
University
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
15 questions
002_Java Methods

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