
Static, Non-static and final fields and methods
Authored by Claire Firman
Computers
11th - 12th Grade
Used 18+ 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
To declare a field as a constant, use:
final
static
constant
neva-change
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a class diagram, how do you know which fields are static?
Underlined
Bold
Italics
They are marked "static"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Non-static methods can use static fields
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static methods can use non-static fields
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static methods can use static fields
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Non-static methods can use non-static fields
True
False
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Name two static fields of the Math class
Math.PI
Math.E
Math.POW
Math.random()
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
15 questions
Learning SQL
Quiz
•
11th - 12th Grade
10 questions
OCR GCSE CS 1.2 Memory MCQ
Quiz
•
7th - 11th Grade
15 questions
Records and Files
Quiz
•
8th - 11th Grade
15 questions
Module 4 - Advanced Techniques using Microsoft Word
Quiz
•
11th Grade
15 questions
Exploring Input, Output, and Storage Devices
Quiz
•
11th Grade
15 questions
Databases
Quiz
•
10th Grade - University
10 questions
Memory, storage devices and media
Quiz
•
10th - 12th Grade
11 questions
Database
Quiz
•
9th Grade - University
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