To declare a field as a constant, use:
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
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 Quizizz
14 questions
AQA GCSE Databases and SQL

Quiz
•
9th - 12th Grade
15 questions
002_Java Methods

Quiz
•
12th Grade - University
15 questions
Unit 2 Inheritance in Java

Quiz
•
12th Grade - University
12 questions
Java Class vocabulary

Quiz
•
9th Grade - University
15 questions
Java Inheritance Quiz

Quiz
•
11th Grade
15 questions
Databases

Quiz
•
9th - 12th Grade
13 questions
Database Normalisation

Quiz
•
11th - 12th Grade
12 questions
A Level Computing - Normalisation & SQL

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade