Data abstraction is not one of the two features that can be implemented in a Java application by encapsulating the entity classes used. Data abstraction is a concept in OOP that refers to the process of hiding implementation details while only showing the functionality to the user. It is achieved in Java by using abstract classes and interfaces, which define a set of methods that must be implemented by any class that inherits from them . Encapsulation, on the other hand, is a way of hiding the implementation details of a class from outside access and only exposing a public interface that can be used to interact with the class. By using encapsulation, a class can enforce its own data validation rules and ensure that its internal state remains consistent .
The correct answer is CD, there is nothing to talk about, they are basic concepts.
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Sudhakar_Senthilkumar
3 days, 13 hours agoMPignaProTech
2 months, 1 week agodsms
1 year, 4 months agoEricausdresden
1 year, 5 months agoCharis1993
1 year, 5 months agoiSnover
2 years, 2 months ago