What is an advantage of declaring a GenericExample<T extends String, E extends Person> class?
GenericExample<T extends String, E extends Person>
It automatically casts between String and Person objects.
String
Person
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 allows mixing any types within the same instance.