Object Oriented Programming (OOP)-with accurate answers (verified)graded A
(Abstraction)Java supports the creation and existence of - Answers-abstract classes that expose interfaces, without including the actual implementation of all methods. Abstraction and encapsulation are complementary - Answers-concepts. On the one hand, abstraction focuses on the behavior of an object. On the other hand, encapsulation focuses on the implementation of an object's behavior. (Differences between Abstraction and Encapsulation)Encapsulation is usually achieved by - Answers-hiding information about the internal state of an object and thus, can be seen as a strategy used in order to provide abstraction.
Document information
- Uploaded on
- July 13, 2023
- Number of pages
- 2
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers