Inheritance question?

Ads
 

Inheritance question?

Q3)Create a class hierarchy as Company extended by AccountsDepartment. AccountsDepartment extended by AccountsReceivable and AccountsPayables. The Company performs following operations. (1) There is an inflow and outflow of cash by the customers. (2) Whenever a customer comes the AccountsDepartment ask for the customer details like customer id, name, email address, phone number and amount to be drawn or deposited. (3) If it is a deposit it is considered as AccountsReceivable. (4) If it is a withdraw it is considered as AccountsPayable.

please send the code of this question soon....plzzzzzzzz

View Answers

March 13, 2011 at 11:29 PM

there should be Bean Class as a Customer

Ads









Related Tutorials/Questions & Answers:
inheritance
inheritance
Advertisements
Inheritance,Inheritance in Java,Java Inheritance
Core Java Interview Questions Page 2, Core Java QuestionQ
javascript inheritance framework
multiple inheritance
Java inheritance
Multiple Inheritance
Multiple Inheritance
Inheritance question?
Inheritance question?
inheritance
inheritance
Inheritance
inheritance
inheritance
Inheritance in Spring
ModuleNotFoundError: No module named 'inheritance'
servlet questions
Concept of Inheritance in Java
creating inheritance of cars
how can i achieve multiple inheritance in java without using inheritance ?
Interview Questions - What are the Fundamentals of OOPS?
Inheritance in Java 7
beginners questions
What are the types of inheritance models in Hibernate?
Does Java support multiple Inheritance?
Does Java support multiple Inheritance?
Does Java support multiple Inheritance?
Java Inheritance Concept.
Inheritance java Example

Ads