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.
Información del documento
- Subido en
- 13 de julio de 2023
- Número de páginas
- 2
- Escrito en
- 2022/2023
- Tipo
- Examen
- Contiene
- Preguntas y respuestas