Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java Create an ADT for a data structure to be used in a social network, the ADT will be called SoNet. Every SoNet contains

In java Create an ADT for a data structure to be used in a social network, the ADT will be called SoNet. Every SoNet contains Persons(nodes) and Friendship Relationships (Edges). Every Person will have the following properties {name, date of birth, gender, url} choose the suitable data types Every Friendship Relationship will have the following properties {an array of two persons, start date, list of interactions} choose the suitable data types SoNet will have the following functionalities: Add a person Add a Relationship Search for a person Search for a relationship The ADT must have an abstract layer and an implementation layer. Create an application layer of at least 10 persons and at least 20 relationships

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago

Question

LO6 Summarize various ways to manage retention.

Answered: 1 week ago

Question

LO3 Define the difference between job satisfaction and engagement.

Answered: 1 week ago