SecureView interview question

Why use and Abstract class or Interface?