
Java Week 2 - Day 3 & 4

Quiz
•
Computers
•
Professional Development
•
Hard
July Twenytweny
Used 4+ times
FREE Resource
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
Determine the output of the code below
testVariable is Me
testVariable is Not Me
Compilation error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
10 questions
GSI DP-100 Day 1

Quiz
•
University - Professi...
10 questions
DP-100 Day 5_6

Quiz
•
University - Professi...
9 questions
Cloud Computing Quiz

Quiz
•
Professional Development
10 questions
Redshift Immersion Day

Quiz
•
Professional Development
10 questions
SAA-CC03 - Módulo 4

Quiz
•
Professional Development
10 questions
SAA-C03 - Módulo 9

Quiz
•
Professional Development
10 questions
Java SE: Programming I

Quiz
•
Professional Development
10 questions
Quiz Java héritage

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade