CSIS 212-B01 LUO Week 6 Quiz
CSIS 212-B01 LUO - Spring 2020 1. 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. 2. Overloaded methods always have the same _________. 3. Which of the following statements is false? 4. Method calls cannot be distinguished by ________. 5. A static method can ________. 6. Which of the following methods are overloaded with respect to one another? 7. An overloaded method is one that ________. 8. Identifiers in Java have ________ and ________ scopes? 9. The identifiers in an enumeration ________. 10. Which of these statements best defines scope? 11. Variables should be declared as fields only if ________. 12. Stacks are known as ________ data structures. 13. Declaring main as static allows the JVM to invoke main ________. 14. Any field declared with keyword ________ is constant. 15. In a class containing methods with the same name, the methods are distinguished by ________. 16. Which of the following can be an argument to a method? 17. A Java class can have which of the following methods? 18. Which statement creates a random value from the sequence 2, 5, 8, 11 and 14. Suppose randomNumbers is a SecureRandom object. 19. Math static method random generates a random double value in the range from 0.0 20. If more method calls occur than can have their activation records stored on the program execution stack, an error known as a ________ occurs.
Escuela, estudio y materia
- Institución
- Liberty University
- Grado
- CSIS 212 : Object-Oriented Programming
Información del documento
- Subido en
- 9 de septiembre de 2022
- Número de páginas
- 5
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
csis 212 week 6 quiz