Testing

Testing

University

34 Qs

quiz-placeholder

Similar activities

CS8592 - OOAD - Unit 1 - Quiz II

CS8592 - OOAD - Unit 1 - Quiz II

University

30 Qs

CTET/TET

CTET/TET

University

30 Qs

Quiz TTL2: Problem-based Learning and Project-based Learning

Quiz TTL2: Problem-based Learning and Project-based Learning

University

30 Qs

ASSESSMENT in LEARNING

ASSESSMENT in LEARNING

University

30 Qs

ME3592 MM GATE PAPER SOLVING

ME3592 MM GATE PAPER SOLVING

University

30 Qs

CTET/TET EDUCATION

CTET/TET EDUCATION

University

30 Qs

Understanding disciplines and subjects

Understanding disciplines and subjects

University

30 Qs

PPR Practice

PPR Practice

University

34 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?