question: public static Ping onAddress ( @ NonNull String address ) throws UnknownHostException { Ping ping = new Ping ( ) ; InetAddress ia = InetAddress . getByName ( address ) ; ping . setAddress ( ia ) ; return ping ; }
target:  Set the address to ping