Java OOP principles Summative test

Java OOP principles Summative test

University

60 Qs

quiz-placeholder

Similar activities

BCE AX 11-05-20

BCE AX 11-05-20

University

55 Qs

CBT Practice 15/4/2018

CBT Practice 15/4/2018

University

60 Qs

Maternity  Exam 2

Maternity Exam 2

University

65 Qs

POST TEST IVECO

POST TEST IVECO

University

60 Qs

HTML, CSS, and JavaScript MCQs

HTML, CSS, and JavaScript MCQs

University

60 Qs

General Astronomy Quiz

General Astronomy Quiz

7th Grade - University

65 Qs

OS Quiz 1 KCS-401

OS Quiz 1 KCS-401

University

61 Qs

Review Instrument Ground

Review Instrument Ground

University

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