A

Admin • 833.24K Points
Coach

Q. Encapsulation is ___.

  • (A) Wrapping up of data and related functions into a single entity
  • (B) Creating special methods
  • (C) Creating special data structure
  • (D) All of these
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category Java
  • Hashtags:

Explanation by: Admin

In Java programming language, the encapsulation is a mechanism of wrapping the data (variables) and code acting on the data (methods) together as a single unit. It is a object-oriented programming concept.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.