HealthEdge Software Interview Question

Explain java principles and give answer example for each