Question: 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
It looks like the question is partially incomplete or potentially too broad There are several elements requesting code and design language for a Javabased social network system some of which require s... View full answer
Get step-by-step solutions from verified subject matter experts
