Java Week 2 - Day 3 & 4

Java Week 2 - Day 3 & 4

Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz numérique Mai

Quiz numérique Mai

Professional Development

10 Qs

LIS Updates

LIS Updates

Professional Development

10 Qs

ER Model

ER Model

Professional Development

10 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

Excel Basics

Excel Basics

5th Grade - Professional Development

10 Qs

Introduction to Hyperconverged: HCI 101

Introduction to Hyperconverged: HCI 101

Professional Development

10 Qs

AWS S3 Quiz

AWS S3 Quiz

Professional Development

10 Qs

AWS Shield

AWS Shield

Professional Development

11 Qs

Java Week 2 - Day 3 & 4

Java Week 2 - Day 3 & 4

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

July Twenytweny

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is used to provide common behavior among different classes

Encapsulation

Abstraction

Interface

Inner Class

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default access modifier in Java?

public

private

package-private

protected

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables declared as final are modified once, in the declaration and inside a method

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Determine the output of the code below

testVariable is Me

testVariable is Not Me

Compilation error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Considering the code below, what will be the return value of getInstanceCount() after instantiating it 10 times?

0

1

2

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Among the declarations below, what is the correct and best way to declare a method that computes for a loan interest?

public void computeMonthlyInterest(double amount, double rate){...}

public void COMPUTE-MONTHLY-INTEREST(double amount, double rate){...}

public double InterestCalculator(double amount, double rate){...}

public double computeMonthlyInterest(double amount, double rate){...}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Abstract methods should always be implemented

True

False

Create a free account and access millions of resources

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?