Learning to google. How to find out whether an object has a specific method? getName, getDisplayName, and getPublicName - 1

"Hi, Amigo!"

"Let's continue our lessons on how to google."

"Here are some exercises:"

Question
1 How do you sort an array of numbers?
2 How do you sort a list of Strings in reverse alphabetical order?
3 How do you send an email from a Java program?
4 How can you tell if a passed object has a specific method?
5 What's the difference between TreeMap and HashMap?
6 Why do you need to write ArrayList<?> in that code?
7 How do you find the maximum value of an int?
8 How do you find the minimum value of a byte?
9 How do you convert a number to a hexadecimal string (123->»7B»)?
10 How do you convert a number to a binary string (123->»1111011″)?