SWD392_-_FA_2022_-_FE_165.webp
Inumaki87

SWD392_-_FA_2022_-_FE_165.webp

Multiple choices 2/60
Answer (Choose 1 answer)
A Sam realized that her DeliveryDriver class had some behaviour and attributes that could be shared by other classes, like Bus Driver and TaxiDriver, so she made a class called Driver that these classes inherited behaviour from. Which object-oriented design principle did she use?
A. encapsulation
B. abstraction
C. decomposition
D. generalization
Next
1
2
3
4
5
6
55 56 57 58 59 60
7
8
9
10
11
12 13
14
15
16 17
18
19
20 21
22
23 24 25 26 27 28
29 30
31
32
33
34 35 36 37 38
39 40 41
42 43
44
45
46
47
48 49 50
51
52 53 54
Ext

Thông tin

Category
SWD392
Thêm bởi
Inumaki87
Ngày thêm
Lượt xem
2,078
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom