The following is an example of "composition":
public class Car
{
Engine engine; // Engine is a class
}
But is it still called "composition" if we are using primitive data types? for example:
public class Car
{
int x; // int is a primitive data type
}