X468: Generics - Generic Method 2

You have been handed a mysterious piece of data by an unknown person. Judging by his shifty eyes and maniacal laughter you don't think he can be trusted. Complete the below method to tell you the type for this unknown data.

The example already implemented can be adapted for other wrapper classes as well. Complete the method to analyze String, Character, and Double.

Examples:

whatAmI(1) -> "Integer"

Your Answer:

Feedback

Your feedback will appear here when you check your answer.