
Java Week 2 - Day 3 & 4
Authored by July Twenytweny
Computers
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Quiz 1 Microsoft Word
Quiz
•
University - Professi...
10 questions
Microsoft Word
Quiz
•
Professional Development
14 questions
Quest 2 (Digital Teacher)
Quiz
•
Professional Development
10 questions
2. Введение в язык программирования C++.
Quiz
•
Professional Development
10 questions
PreTrainingClassesObjectsMethods
Quiz
•
Professional Development
10 questions
POO - P2
Quiz
•
Professional Development
10 questions
C Language Basic Quiz
Quiz
•
7th Grade - Professio...
11 questions
ChatGPT Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...