Edison engineer interview questions shared by candidates
Given the following terms please draw a logical diagram/hierarchy on the board as you see fit. Dog, Cat, Woof, Animal, Fifi, Run
This tests your knowledge of inheritance and basic object oriented structure.
what was your answer? animal, dog, cat, woof, run,fifi?
The correct answer to this question is as follows: Animal is the base class Animal has the abstract method Run Dog and Cat both inherit from Animal Dog has the method woof Fifi could either be an instance of the dog/cat class or it could be a name attribute.
See Interview Questions for Similar Jobs
- Security Guard
- Medical Assistant
- Graphic Designer
- Human Resource
- Mechanical Engineer
- Pharmaceutical Sales
- Truck Driver