Testing

Testing

University

34 Qs

quiz-placeholder

Similar activities

DE FINALS REVIEW

DE FINALS REVIEW

University

32 Qs

Google Challenge for PEC Students

Google Challenge for PEC Students

8th Grade - University

30 Qs

Test your knowledge

Test your knowledge

University

35 Qs

TET EDUCATION

TET EDUCATION

University

30 Qs

Quiz Competition - Educational Psychology

Quiz Competition - Educational Psychology

University

30 Qs

CTET/TET Education

CTET/TET Education

University

30 Qs

EDUC5 MIDTERM EXAM

EDUC5 MIDTERM EXAM

University

30 Qs

TIME YOURSELF 2 : ACCOUNTING 1

TIME YOURSELF 2 : ACCOUNTING 1

1st Grade - University

31 Qs

Testing

Testing

Assessment

Quiz

Education

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?