Posted by : Sudhir Chekuri Tuesday, 5 January 2016

  • Encapsulation is a procedure of binding data under class name.
  • Encapsulation is a procedure of covering up of the data & functions into a single unit called as Class.
  • An encapsulated object is often called an abstract data type.
  • Rather than defining the data in the form of public, we can declare those fields as private.
  • In other words wrapping up of data and methods into a single unit is called as "Encapsulation"(ex:Class,method).

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Followers

Total Pageviews

Powered by Blogger.

- Copyright © 2013 DevStudent - Metrominimalist - Powered by Blogger - Designed by Johanes Djogan -