Static, Non-static and final fields and methods

Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Claire Firman
Used 18+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
#128 Accessor Methods

Quiz
•
11th Grade
15 questions
Databases

Quiz
•
9th - 12th Grade
15 questions
C# Concepts and Code Quiz

Quiz
•
12th Grade
10 questions
Strings

Quiz
•
11th Grade
15 questions
004_Java Instance Variables

Quiz
•
12th Grade - University
14 questions
AQA GCSE Databases and SQL

Quiz
•
9th - 12th Grade
15 questions
Java Level 1 - B

Quiz
•
12th Grade
14 questions
Java Math and String Libraries

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade