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
Step: 1
coded file upload at httpsgithubcomravireddy07Freelancingtreemaster8485898475JavaUMLStructure Code tasks import javautil import javalang import javaio class classOne int rollNo String Name String City ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started