CSIS 212 MID TERM EXAM -2020 – QUESTION AND ANSWERS.
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.Overloaded methods always have the same _________.The identifiers in an enumeration ________.Declaring main as static allows the JVM to invoke main ___Variables should be declared as fields only if ______The package contains classes for manipulating all of the following items except ________.Which of the following statements is false?A programmer must do the following before using an array:How many Book objects are created by the following statement? Book[] books = new Book[10];In Java, multidimensional arrays ________.What do the following statements do? double[] array; array = new double[14];Constructors:Which syntax imports all static members of class Math?Using public set methods helps provide data integrity ifWhen no access modifier is specified for a method or variable, the method or variable:Overriding a method differs from overloading a method because: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.Overloaded methods always have the same _________.The identifiers in an enumeration ________.Declaring main as static allows the JVM to invoke main ___Variables should be declared as fields only if ______The package contains classes for manipulating all of the following items except ________.Which of the following statements is false?A programmer must do the following before using an array:How many Book objects are created by the following statement? Book[] books = new Book[10];In Java, multidimensional arrays ________.What do the following statements do? double[] array; array = new double[14];Constructors:Which syntax imports all static members of class Math?Using public set methods helps provide data integrity ifWhen no access modifier is specified for a method or variable, the method or variable:Overriding a method differs from overloading a method because:
Escuela, estudio y materia
- Institución
- Liberty University
- Grado
- CSIS 212 : Object-Oriented Programming (CSIS212)
Información del documento
- Subido en
- 5 de junio de 2021
- Número de páginas
- 10
- Escrito en
- 2020/2021
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
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
-
overloaded methods always have the same