What is the return type of window handles in Selenium?

What is the return type of window handles in Selenium?

The answer is that window handles are returned as a java.awt.AWTWindow handle object. This is a Java wrapper class for the native OS window handle object, which can be retrieved through the native method GetWindowLong or GetWindow, or by calling the Java method getWindow().