Quiz
OOP
This quiz has question types that open in the usual player.
Questions in this quiz (7)
1Select the correct statements
- AMethods describe an objects characteristics
- BMethods describe an objects behaviour
- CProperties describe an objects characteristics
- DProperties describe an objects behaviour
2Inheritance is a [blank_start]" "[blank_end] relationship
- A"has-a"
- B"is-a"
3What is the difference between aggregation and composition?
- Acomposition means the child object cannot exist without the parent, aggregation means the child object can live alone
- Baggregation means the child object cannot exist without the parent, composition means the child object can live alone
4What is polymorphism in OOP?
- AThe ability to change methods for derived classes
- BThe ability to combine objects
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
- Anot
- Balready
6Which of these is true
- AEncapsulation means hiding the internal details or mechanics of how an object does something
- BEncapsulation lets you focus on what the object does instead of how it does it
7Which of these is more widely preferred?
- Ainheritance
- Bcomposition
Information
- Description
- Quiz on OOP, created by Jack Bawler on 03/11/2017.
- Author
- Jack Bawler
- Language
- English
- Views
- 1
- Tags
- Rating
- No ratings yet Rate this quiz