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
Written for
- Institution
- Liberty University
- Module
- CSIS 212 FINAL EXAM - QUESTION AND ANSWERS
Document information
- Uploaded on
- November 28, 2021
- Number of pages
- 8
- Written in
- 2021/2022
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
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