68 774
Assignments Done
Successfully Done
In January 2019

Answer to Question #59457 in Java | JSP | JSF for ariel

Question #59457
Consider the following scenario: In a social media news feed, users are required to subscribe to the news feed before receiving any news or updates. Users can only subscribe to each news feed only up to five (5) different feeds.

Given your knowledge of linked structures and arrays, determine which of the two complex types you would use to implement the solution (1) for tracking the number of subscribers within a media company and (2) for tracking the number of news feed a subscriber can subscribe to. Justify your answers. (e.g., identify the advantages and disadvantage for inserting, deleting, and searching through different complex types.)
Expert's answer
We can use array for the first case, where array element is user and we can easy get array size. And for second case we can use list, for inserting and deleting (subscribing/unsubscribing) feeds

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions