Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Edit Game
Anatomy of Classes in Java
Delete
Settings
Multiple Choice
Import
Collapse
GIFs
Images đź”’ Plus
×
Start using GIFs
GIFs
Stickers
Text
Relevant
ADD SOUND
Upload
Record
Remove Existing
Upload sound (5MB max, 10s max)
Start Recording (10s max)
Stop
Cancel
Title
Browse gifs, upload image or paste URL
Image Library
Description
Language
Choose a Language
Abkhazian
Afar
Afrikaans
Akan
Albanian
Amharic
Arabic
Aragonese
Armenian
Assamese
Avaric
Avestan
Aymara
Azerbaijani
Bambara
Bashkir
Basque
Belarusian
Bengali
Bihari languages
Bislama
Bosnian
Breton
Bulgarian
Burmese
Catalan, Valencian
Central Khmer
Chamorro
Chechen
Chichewa, Chewa, Nyanja
Chinese
Church Slavonic, Old Bulgarian, Old Church Slavonic
Chuvash
Cornish
Corsican
Cree
Croatian
Czech
Danish
Divehi, Dhivehi, Maldivian
Dutch, Flemish
Dzongkha
English
Esperanto
Estonian
Ewe
Faroese
Fijian
Finnish
French
Fulah
Gaelic, Scottish Gaelic
Galician
Ganda
Georgian
German
Gikuyu, Kikuyu
Greek (Modern)
Greenlandic, Kalaallisut
Guarani
Gujarati
Haitian, Haitian Creole
Hausa
Hebrew
Herero
Hindi
Hiri Motu
Hungarian
Icelandic
Ido
Igbo
Indonesian
Interlingua (International Auxiliary Language Association)
Interlingue
Inuktitut
Inupiaq
Irish
Italian
Japanese
Javanese
Kannada
Kanuri
Kashmiri
Kazakh
Kinyarwanda
Komi
Kongo
Korean
Kwanyama, Kuanyama
Kurdish
Kyrgyz
Lao
Latin
Latvian
Letzeburgesch, Luxembourgish
Limburgish, Limburgan, Limburger
Lingala
Lithuanian
Luba-Katanga
Macedonian
Malagasy
Malay
Malayalam
Maltese
Manx
Maori
Marathi
Marshallese
Moldovan, Moldavian, Romanian
Mongolian
Nauru
Navajo, Navaho
Northern Ndebele
Ndonga
Nepali
Northern Sami
Norwegian
Norwegian Bokmål
Norwegian Nynorsk
Nuosu, Sichuan Yi
Occitan (post 1500)
Ojibwa
Oriya
Oromo
Ossetian, Ossetic
Pali
Panjabi, Punjabi
Pashto, Pushto
Persian
Polish
Portuguese
Quechua
Romansh
Rundi
Russian
Samoan
Sango
Sanskrit
Sardinian
Serbian
Shona
Sindhi
Sinhala, Sinhalese
Slovak
Slovenian
Somali
Sotho, Southern
South Ndebele
Spanish, Castilian
Sundanese
Swahili
Swati
Swedish
Tagalog
Tahitian
Tajik
Tamil
Tatar
Telugu
Thai
Tibetan
Tigrinya
Tonga (Tonga Islands)
Tsonga
Tswana
Turkish
Turkmen
Twi
Uighur, Uyghur
Ukrainian
Urdu
Uzbek
Venda
Vietnamese
Volap_k
Walloon
Welsh
Western Frisian
Wolof
Xhosa
Yiddish
Yoruba
Zhuang, Chuang
Zulu
Remove Image
Tags
Use commas to add multiple tags
Private
Unlisted
Public
Featured
Game of the Day
Game of the Day
Try Baamboozle+ for free
Featured
Featured on Games page
Public
Visible on your profile. Anyone can play.
Unlisted
Hidden from your profile. Anyone with the link or game code can play.
Private
Hidden from your profile. Only you can play.
Save
Cancel
Copy and paste from ChatGPT, Quizlet Export, Word, Excel, Google Docs, etc.
Delimiter between question and answer:
Comma
Tab
Semicolon
Custom
Tips:
No column headers.
Each line maps to a question.
If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
The first answer in the multiple choice question must be the correct answer.
Import questions
Cancel
Question
Answer
Points
5
10
15
20
25
Image options
Question with image
Answer with image
Browse gifs, upload image or paste URL
Image Library
Save
21
Close
True or False: The default value for an instance variable of type integer is 1.
False
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
True or False: The default value for an instance variable of type String is void.
False
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
True or False: The argument types in the method call must be identical to the types of the corresponding parameters in the method’s declaration.
True
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
True or False: To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method’s arguments.
False
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
True or False: When a method that specifies a return type other than void is called and completes its task, the method must return a result to its calling method.
True
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Which of the following represents the final output of the code segment above?
22
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
True or False: Classes often provide public methods to allow the class’s clients to set or get private instance variables; the names of these methods must begin with set or get.
False
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Write the line of code that declares a sideLength instance variable for a Square class that stores an integer value.
private int sideLength;
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
A method in a class that modifies information about an object is called a/an ________________ method.
mutator
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
A method in a class that returns information about an object but does not change the object is called a/an _________________ method.
accessor
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
The getMonth() method in the code segment above can be considered an/a _______________ method. (accessor/mutator)
accessor
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Assuming that object birthday is an instance of the Date class, what is the correct way to call the getMonth() method?
birthday.getMonth()
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Given class Counter above, what output is generated by the code segment?
2 1
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
You should declare all instance variables as ____________________.
private
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Data required for an object's use are stored in _________________.
instance variables
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
When an object is created from a class, the object is called a/an ________________ of the class.
instance
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
The ______________ keyword is used to construct an object from a class.
new
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
The process of hiding object data and providing methods for data access is called ______________________.
encapsulation
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Given the above class definition, which of the following are considered part of the class’s public interface?
updatePrice and designCode
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Consider the above code segment. Class Date contains ______ instance variables.
3
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
Given class Counter, how many instances of the Counter class are created in the code segment?
2
5
10
15
20
25
Image
Browse gifs, upload image or paste URL
Image Library
Image options
Question with image
Answer with image
×
Sign up for a trial to unlock features.
Get Started
Your experience on this site will be improved by allowing cookies.
Allow cookies