Quiz
Untitled
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (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.
Information
- Description
- Quiz on Untitled, created by Berlin2015 on 09/07/2015.
- Author
- Berlin2015
- Language
- Deutsch
- Views
- 0
- Rating
- No ratings yet Rate this quiz