SecureView interview question

How to write an interface and an abstract class?