66 940
Assignments Done
99,1%
Successfully Done
In October 2018

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions