Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to write data structure Graph for Java model class

User_O4OI0Jun 18 2022 — edited Jun 18 2022

Question :
A product can have distinctive sorts of attributes, and they can change with regard to items, such as a car can have taking after qualities: {cost, colour, price} and chair can have : {cost, width, profundity, stature}. Product attributes are organized in a progressive bunch structure, where a product attribute group can contain one or a few product attributes and/or attributes. Group can contain one or a more Product Attributes and/or Product Attribute Groups.
Write the code required to handle the over portrayed items and a print work that prints the information in such a way that it is evident which properties have a place to which item and which quality gather in case any.

image.png

Comments

Post Details

Added on Jun 18 2022
0 comments
264 views