GoConqr has a new look! Let us know what you think.

Quiz

Untitled

Berlin2015 15 questions

Take the quiz

Questions in this quiz (15)

  1. 1What is one advantage of using encapsulation
    1. A It makes the code more readable
    2. B It avoids throwing NullPointerExceptions
    3. C The internal state of every objected is protected by hiding its attributes
  2. 2What principle does SOLID not include ?
    1. AOpen / Closed principle
    2. BInterface segregation principle
    3. CDependency injection principle
  3. 3What does the “static” keyword mean ?

    1. AA member variable can be accessed without requiring instantiation of the class to which it
      belongs

    2. BA member variable can not be accessed without requiring instantiation of the class to
      which it belongs
    3. C A member variable that is a constant
  4. 4Can you override private or static method in Java ?
    1. A yes

    2. B no
  5. 5How many Data Types (primitive) are supported by Java ?


    1. A6
    2. B7
    3. C8
  6. 6What is the operation called when an int is converted to Integer?
    1. Aunboxing

    2. Bboxing
    3. Cautoboxing
  7. 7Does Java support multiple inheritance ?
    1. Ayes
    2. Bno
  8. 8Thread states: NEW what does it mean ?



    Answer: a
    1. A The thread becomes ready to run, but does not necessarily start running immediately.
    2. BThe thread becomes ready to run, and start running immediately.
    3. CThe thread waits for another thread to perform a particular action.
  9. 9What is difference between Array and ArrayList ?
    1. AArrays can contain objects, ArrayList can contain primitives or objects
    2. BArrays can contain primitive or objects, ArrayList can contain only objects
    3. CArrays are dynamic
  10. 10Checked exceptions must be declared in a method or a constructor’s throws clause ?
    1. Ayes
    2. Bno

Information

Description
Quiz on Untitled, created by Berlin2015 on 09/07/2015.
Language
Deutsch
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?