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

Quiz

OOP

Jack Bawler 7 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (7)

  1. 1Select the correct statements
    1. AMethods describe an objects characteristics
    2. BMethods describe an objects behaviour
    3. CProperties describe an objects characteristics
    4. DProperties describe an objects behaviour
  2. 2Inheritance is a [blank_start]" "[blank_end] relationship
    1. A"has-a"
    2. B"is-a"
  3. 3What is the difference between aggregation and composition?
    1. Acomposition means the child object cannot exist without the parent, aggregation means the child object can live alone
    2. Baggregation means the child object cannot exist without the parent, composition means the child object can live alone
  4. 4What is polymorphism in OOP?
    1. AThe ability to change methods for derived classes
    2. BThe ability to combine objects
  5. 5Method overriding is a feature that allows a child class to provide a specific implementation of a method that is [blank_start]already[blank_end] provided by one of its parent classes
    1. Anot
    2. Balready
  6. 6Which of these is true
    1. AEncapsulation means hiding the internal details or mechanics of how an object does something
    2. BEncapsulation lets you focus on what the object does instead of how it does it
  7. 7Which of these is more widely preferred?
    1. Ainheritance
    2. Bcomposition

Information

Description
Quiz on OOP, created by Jack Bawler on 03/11/2017.
Language
English
Views
1
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?