Want a Free Job Posting?

Buy a job posting today and the second one is on us. For a limited time only. Act Now.

Interview Question

Interview(Student Candidate) Berkeley, CA

The abstract class question was posed differently- he said

  something along the lines of "Suppose you have an interface in which certain aspects of the implementation could be defined and those would carry over to classes implementing it- when do you think that would be useful?" ."

Interview Answer

1 Answer


The first thing I said was something like "Well, that sounds an awful lot like an abstract class, which I would use in XYZ instead of an interface because ABC." Be sure to mention the idea of templates, and how abstract classes and interfaces can be used as such.

Interview Candidate on Dec 11, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.