Cyient interview question

abstract class and interface