πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Wrapping up of data and related functions into a single entity

Explanation: 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.

Explanation by: Team MCQ Buddy
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
278
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
84%
Success Rate