The context (social network ), You should write a code on java language by using following questions.
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 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
Business Data Communications Infrastructure Networking and Security
ISBN: 978-0133023893
7th edition
Authors: William Stallings, Tom Case