Test
Sin título
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (15)
1What is one advantage of using encapsulation
- A It makes the code more readable
- B It avoids throwing NullPointerExceptions
- C The internal state of every objected is protected by hiding its attributes
- A It makes the code more readable
2What principle does SOLID not include ?
- AOpen / Closed principle
- BInterface segregation principle
- CDependency injection principle
- AOpen / Closed principle
3What does the “static” keyword mean ?
- AA member variable can be accessed without requiring instantiation of the class to which it
belongs - BA member variable can not be accessed without requiring instantiation of the class to
which it belongs - C A member variable that is a constant
- AA member variable can be accessed without requiring instantiation of the class to which it
4Can you override private or static method in Java ?
- A yes
- B no
- A yes
5How many Data Types (primitive) are supported by Java ?
- A6
- B7
- C8
6What is the operation called when an int is converted to Integer?
- Aunboxing
- Bboxing
- Cautoboxing
- Aunboxing
7Does Java support multiple inheritance ?
- Ayes
- Bno
8Thread states: NEW what does it mean ?
Answer: a- A The thread becomes ready to run, but does not necessarily start running immediately.
- BThe thread becomes ready to run, and start running immediately.
- CThe thread waits for another thread to perform a particular action.
9What is difference between Array and ArrayList ?
- AArrays can contain objects, ArrayList can contain primitives or objects
- BArrays can contain primitive or objects, ArrayList can contain only objects
- CArrays are dynamic
10Checked exceptions must be declared in a method or a constructor’s throws clause ?
- Ayes
- Bno
11Which class does not override the equals() and hashCode() methods, inheriting them
directly from class Object?
- A java.lang.String
- B java.lang.Double
- Cjava.lang.StringBuffer
12Which interface does java.util.Hashtable implement?
a. java.util.List
b. java.util.HashTable
c.- Ajava.util.List
- Bjava.util.HashTable
- Cjava.util.Map
13How many HTTP Verbs are there ?
- A7
- B8
- C9
14A UNION query is which of the following?
- ACombines the output from no more than two queries and must include the same number of
columns. - BCombines the output from no more than two queries and does not include the same
number of columns. - CCombines the output from multiple queries and must include the same number of
columns
- ACombines the output from no more than two queries and must include the same number of
15Which of the following statements is true concerning subqueries?
- AInvolves the use of an inner and outer query.
- BCannot return the same result as a query that is not a subquery.
- CDoes not start with the word SELECT.
Información
- Descripción
- Test sobre Sin título, creado por Berlin2015 el 09/07/2015.
- Autor
- Berlin2015
- Idioma
- Deutsch
- Visitas
- 0
- Valoración
- Aún sin valoraciones Valora este test