HealthEdge Software interview question

Explain about encapsulation and Double Linkedlist deletion