Inheritance question?

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









Related Tutorials/Questions & Answers:
Inheritance in Hibernate - Hibernate Interview Questions
Achieve Inheritance in Hibernate - Hibernate Interview Questions
Advertisements
Java Inheritance and abstract - Java Interview Questions
question1 - Java Beginners
inheritance
inheritance
multiple inheritance.
Inheritance,Inheritance in Java,Java Inheritance
Core Java Interview Questions Page 2, Core Java QuestionQ
Inheritance
javascript inheritance framework
multiple inheritance
Java inheritance
Multiple Inheritance
Multiple Inheritance
Inheritance question?
Inheritance question?
inheritance
inheritance
Inheritance
inheritance
inheritance
Inheritance
Inheritance in Spring
Inheritance in java - Java Beginners
ModuleNotFoundError: No module named 'inheritance'
Inheritance
Inheritance in java - Java Beginners
inheritance - Java Beginners
Concept of Inheritance in Java
creating inheritance of cars
how can i achieve multiple inheritance in java without using inheritance ?
Inheritance in Java 7
Maven's order of inheritance
What type of inheritance that php supports?
What are the types of inheritance models in Hibernate?
multiple inheritance - Java Beginners
Does Java support multiple Inheritance?
Does Java support multiple Inheritance?
Does Java support multiple Inheritance?
Inheritance in Java
Inheritance - Java Beginners
Inheritance java Example
Java Inheritance Concept.
ModuleNotFoundError: No module named 'sphinxcontrib-inheritance'
ModuleNotFoundError: No module named 'sphinxcontrib-inheritance'
ModuleNotFoundError: No module named 'inheritance_graph'
Inheritance and Composition - Java Beginners
doubt in inheritance program - Java Beginners
Inheritance Overloading - Java Beginners

Ads