import java.security.Security;
public class NetworkProperties
   {
   /**
    * test Network properties
    * @param args not used
    */
   public static void main ( String[] args )
      {
      // examine a network property
      String p = Security.getProperty( "networkaddress.cache.negative.ttl" );
      out.println( p );  // prints 10

      // set a network property.
      Security.setProperty( "networkaddress.cache.negative.ttl", "12" );
      }

}