Interview Question

Summer Software Engineering Internship Interview(Student Candidate) Culver City, CA

What is the difference between "Abstraction" and

  nce"?
Answer

Interview Answer

1 Answer

0

Abstraction is used when you want to remove detail - when you're not concerned about the inner workings. This is usually one of the reasons we create classes. I don't care how an ArrayList stores or returns my information - only that it does. Inheritance is used to specialize or add-to the functionality of an already existing class and is characterized by the 'is a' relation.

user on Nov 15, 2012

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up