What is the difference between parameterized class, multiobjects and collections?

0

Well, I know the concepts of each one. I just do not know how to differentiate them. For example, a parameterized class is a class that is used to define other classes, and a collection can be represented by a parameterized class. However, what is the difference between them? After all. in Java, a parameterized class is equivalent to a Collection. As for multiobjects, I also know that they can represent the many sides in a one-to-many association, but I also can not see the differences between these three concepts. If anyone can help me, thank you!

    
asked by anonymous 24.03.2017 / 04:34

1 answer

-2

A Collection can contain primitive types, such as ints. Already the "multiobject" is a collection with generics, by default, every argument that is within generics must be an Object, that is, a class that inherits from Object (in java) for example: List < String > or List . Parameterized class I know there.

Source: Cap.7 Book of Bezerra

    
06.04.2017 / 04:24