Amazon Interview Question
Software Engineer / DevelopersCountry: United States
Interview Type: In-Person
is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
There can be a DVD abstract class,a customer class and Bill class
- Anonymous November 07, 2012Under DVD Abstract class we can have a number of concrete classes like Fiction,Horror,Romance, Thriller(I am assuming movies in this case).
The customer has one to many relationship with DVD.As one customer can buy many DVD's
Under Bill class we have a list of DVd,totalAmount,Customer details,return Date and Buy Date
class Bill
List<DVD>
totalAmt
Customer customer
Date returnDate
Date BuyDate
class Customer
name
address
occupation
phone number
abstract class DVD
name
Description
dvdNumber
cost
Then concrete classes like Fiction,Horror ,Romance and so on
class Fiction
implements cost method-which will be specific to each class
In the Database we can have two tables called DVD and Customer.Customer will have a foreign key which will point to primary key of DVD(which is DVD number).There will be one to many relationship between Customer and DVD.