Available JDK Write a program to query httpwwworaclecomtechn
Available JDK Write a program to query http://www.oracle.com/technetwork/java/javase/downloads/index.html and display the first release number for a JDK listed on that page (and ONLY the release number). For example, at the time of this writing, the output would be 8u101 This summer (when our virtual machines were created), the release number output would have been 8u91 Your program should handle any thrown exceptions with an informative message.
Solution
import java.lang.*;
public class Query
{
public static void main(String args[])
{
//initially we are creating a a array of values where the array can be updated to insert a new value
Dictionary dict = new Hashtable();
dict.put(1, \"version_name1\");
 dict.put(2, \"version_name2\");
 dict.put(3, \"version_name3\");
 dict.put(4, \"version_name4\");
}
}
so,we can create a key -value pair where the key becomes the version of the java and value is the version_name.Now, the least key value will be the latest version.

