Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The context (social network ), You should write a code on java language by using following questions. 1. Define 5 classes/interfaces/abstract classes you can have

The context (social network ), You should write a code on java language by using following questions.

1. Define 5 classes/interfaces/abstract classes you can have there. Only enlist them.
2. Implement 1 class from question 1 - fields/methods/get set/ constructors/equals/toString/clone
3. Show inheritance examples and overriding/overloading of any method you like
4. Give example of runtime polymorphism.
5. Implement Comparable interface and write 1 comparator. For what will you use it?
6. Give 1 example for dependency, aggregation, composition, generalization, realization associations
7. Apply________ design patterns. Describe situations where you can use them.
8. Which collections will you use there and for what?
9. Draw UML class diagram of the system

Step by Step Solution

3.51 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

coded file upload at httpsgithubcomravireddy07Freelancingtreemaster8485898475JavaUMLStructure Code tasks import javautil import javalang import javaio class classOne int rollNo String Name String City ... 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_2

Step: 3

blur-text-image_3

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

Business Data Communications Infrastructure Networking and Security

Authors: William Stallings, Tom Case

7th edition

133023893, 978-0133023893

More Books

Students also viewed these Programming questions

Question

3. Use the childs name.

Answered: 1 week ago

Question

Performance assessment: looping constructs

Answered: 1 week ago

Question

How does cyclical redundancy checking work?

Answered: 1 week ago