Introduction
Default generic types let you set a fallback type for a generic. This means if no type is given, the default is used automatically.
When creating reusable functions or classes that usually work with one type but can accept others.
When you want to make your code easier to use by not forcing users to always specify a type.
When you want to provide a common type but still allow flexibility for special cases.