What is meant by encapsulation?

By definition, encapsulation describes the idea of bundling data and methods that work on that data within one unit, like a class in Java . This concept is also often used to hide the internal representation, or state of an object from the outside. This is called information hiding.

Read more

What is abstract class property?

An abstract property declaration does not provide an implementation of the property accessors — it declares that the class supports properties, but leaves the accessor implementation to derived classes . The following example demonstrates how to implement the abstract properties inherited from a base class.

Read more