What type of relationships does inheritance support?does it support one-one or one-many relationship and why??
Printable View
What type of relationships does inheritance support?does it support one-one or one-many relationship and why??
Hi. in Java can not use multiple inheritance, but you can use interface.
But what about the mapped relationships?????
Do you asked about Java Code or Java and DataBase? Can you more describe about your question?
one-to-one and one-to-many are relational concepts, associated often with databases.
They aren't anything to do with OO terms like inheritance.