Java OOP principles Summative test

Java OOP principles Summative test

University

60 Qs

quiz-placeholder

Similar activities

S6-1 Competition Practice

S6-1 Competition Practice

University

60 Qs

Struktur Data 24/25

Struktur Data 24/25

University

60 Qs

NAV - CPL Exam Ready

NAV - CPL Exam Ready

University

63 Qs

Class assignment

Class assignment

University

60 Qs

BCE-DAY 1(CHEM+BT) - 24-04-2020

BCE-DAY 1(CHEM+BT) - 24-04-2020

University

60 Qs

Exam #3 1230 Quiz

Exam #3 1230 Quiz

University

62 Qs

HAC-101 Midterm Quiz

HAC-101 Midterm Quiz

University

60 Qs

STS Exam Review

STS Exam Review

University

55 Qs

Java OOP principles Summative test

Java OOP principles Summative test

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Jeffmark Pinaredondo

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

60 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Indicate if the following lines of codes are legal or illegal. If legal select the resulting value. If illegal select Error.


String hello = new String("Hello world!");


int len = hello.length();

legal

11

illegal

Error

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

interface and implement keywords should be used side by side to run the program with abstraction.

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which keyword is used in a program to set the variable or identifier's value fixed?

constant

const

cons

consts

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When a derived class is defined it also has all the attributes and methods of the base class

Polymorphism

Encapsulation

Inheritance

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ability of a programming language to process objects differently  depending on their class.

Inheritance

Encapsulation

Polymorphism

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An object's attributes are contained in the object and access to them is restricted to operations of that class

Inheritance

Polymorphism

Encapsulation

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The process of creating an actual named instance of class.

Instantiation

Overrriding

Method

Attribute

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?