Nagarro interview question

Difference between absract and interface

Interview Answers

Anonymous

19 Jun 2017

I answered

1

Anonymous

8 Dec 2017

Abstract Class : Generally Used whenIf you need some common functionality through out the hierarchy. Interface : basically used for strictly forcing the contract for all the classes hierarchy.