
IP Quiz#2

Quiz
•
Others
•
Professional Development
•
Hard
Elyssa Minette Dato
Used 6+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an object in Java?
An instance of a class.
A template, pattern or blueprint in creating objects.
A method in Java
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a class in Java?
An instance of a class.
A template, pattern or blueprint in creating objects.
A method in java.
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to create an instance of a class?
new
classname
object
reference
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an advantage of Object-Oriented Programming?
It helps in creating flexible and efficient code.
Reusability of code
Modularity
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
null
name
0
myDog
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
null
name
Chooey
myDog
7.
FILL IN THE BLANK QUESTION
1 min • 3 pts
Write the correct code for creating an instance of class Cat.
Note: objectname is myCat.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz on Restorative and Esthetic Dental Materials

Quiz
•
Professional Development
15 questions
Building Services Engineering Quiz

Quiz
•
Professional Development
15 questions
Dental Cements Quiz

Quiz
•
Professional Development
14 questions
Quiz on Medical Technology Laws and Bioethics

Quiz
•
Professional Development
14 questions
Arduino Quiz

Quiz
•
Professional Development
19 questions
QZ#7

Quiz
•
Professional Development
14 questions
Quiz on Impressionist Music

Quiz
•
Professional Development
14 questions
3 Globalization

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade