Forums Register Login

aggregation and segregation in java

1
+Pie Number of slices to send: Send
what is aggregation and segregation in java
+Pie Number of slices to send: Send
Sitaram,
Aggregation is having a bunch of objects in another object. For example, you aggregate a bunch of items in an ArrayList.

Segregation typically deals with separation of concerns. For example, you segregate presentation from the view in MVC.
+Pie Number of slices to send: Send
When a request comes, we separate it into several subsets that can be executed in a serial or parallel manner, which finally gives a response to the user.
The separation operation is called segregation
And the operation of gathering the results is called aggregation
+Pie Number of slices to send: Send
Welcome to the Ranch

I am afraid that isn't the usual object‑oriented definition of aggregation. See Jeanne's post above.
You guys haven't done this much, have ya? I suggest you study this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2739 times.
Similar Threads
sample java code needed for UML class associations
Aggregation and composition
what is Aggregation in java
Aggregation in Java?
what is the differance between Composition and Aggregation?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 23:30:54.