Define and implement a generic static method info that accepts a generic array and returns the content of the input array as a String .
Examples:
- if the argument is an
intarray{1, 2, 3}, the method should return theString:[1, 2, 3]; - if the argument is a
Stringarray{"one", "two", "three"}, the method should return theString:[one, two, three]; - if an argument is an empty array,
String:[]is returned.