What is an advantage of declaring a GenericExample<T extends String, E extends Person> class?
GenericExample<T extends String, E extends Person>
It allows mixing any types within the same instance.
It restricts the class to only operate with String and Person types, enhancing type safety.
It simplifies the syntax for creating new instances of GenericExample.
GenericExample
It automatically casts between String and Person objects.
String
Person