
Testing
Authored by Leong Kira
Education
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
35 questions
Algoritma dan Logika Informatika
Quiz
•
University
39 questions
British vs American English
Quiz
•
1st Grade - University
30 questions
LEARNER - CENTERED PSYCHOLOGICAL PRINCIPLES
Quiz
•
University
30 questions
Applied Hydraulics & Pneumatics
Quiz
•
University
30 questions
Indian Judiciary 8A
Quiz
•
KG - Professional Dev...
30 questions
Contemporary India and Education
Quiz
•
University
30 questions
QUIZ 2
Quiz
•
University
30 questions
Penghargaan Pegawai
Quiz
•
1st Grade - 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