
Testing

Quiz
•
Education
•
University
•
Medium
Leong Kira
Used 3+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
A constructor is
a. Variable
b. Class
c. Field
d. Properties
e. Method
2.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
A constructor
a. None of the above
b. Is called when the instance is created
Does Not exist
3.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
A field is a:
a. Class variable and instance variable
Local variable and Parameter variable
Parameter variable and Class variable
4.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
All object-oriented programming languages must have the 3 following features:
Inheritance, association, encapsulation
Association, inheritance, objects
Classes, subclasses, superclasses
state, behavior, identity
Inheritance, polymorphism, encapsulation
5.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
An object that has more than one form is referred to as
Interface
Inheritance
Abstract class
Polymorhpism
Encapsulation
6.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
Constructors are used to
Free memory
To create a sub class
To build a user interface
initialize a newly created object
7.
MULTIPLE CHOICE QUESTION
15 mins • 3 pts
Encapsulation is based on:
Using global variables
Hiding deprecated fields that should NOT be removed
Nesting classes
Hiding logic that is only used from inside a class
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
CTET/TET

Quiz
•
University
30 questions
Quiz Bowl (STE Day)

Quiz
•
University
30 questions
TTL Quiz

Quiz
•
University
35 questions
EDUC 6

Quiz
•
University
29 questions
AWS MODULE 6 PART 2

Quiz
•
University
38 questions
Types of Quantitative Research

Quiz
•
University
33 questions
Grade 9 Illustration Exam

Quiz
•
9th Grade - University
30 questions
LET REVIEW - Remedial Instruction in English

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade