CSIS 212 FINAL EXAM - QUESTION AND ANSWERS
CSIS 212 FINAL EXAM - QUESTION AND ANSWERS • Question 1 3 out of 3 points Which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails? Suppose randomNumbers is a SecureRandom object. Selected Answer: randomNInt(2); • Question 2 3 out of 3 points Overloaded methods always have the same _________. Selected Answer: method name • Question 3 3 out of 3 points The identifiers in an enumeration ________. Selected Answer: must be unique. • Question 4 3 out of 3 points Declaring main as static allows the JVM to invoke main ________. Selected Answer: without creating an instance of the class in which main is declared. • Question 5 3 out of 3 points Variables should be declared as fields only if ________. Selected Answer: they are required for use in more than one method or their values must be saved between calls to the class’s methods • Question 6 3 out of 3 points The package contains classes for manipulating all of the following items except ________. Selected Answer: classes • Question 7 3 out of 3 points
Geschreven voor
- Instelling
- Liberty University
- Vak
- CSIS 212 FINAL EXAM - QUESTION AND ANSWERS
Documentinformatie
- Geüpload op
- 28 november 2021
- Aantal pagina's
- 8
- Geschreven in
- 2021/2022
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
csis 212 final exam question and answers • question 1 3 out of 3 points which statement below could be used to simulate the outputs of tossing a quarter to get heads or tails suppose randomnumbers