Given the code fragment:
public static void main (String [ ] args) throws IOException {
BufferedReader br = new BufferedReader (new InputStremReader (System.in)); System.out.print ("Enter GDP: ");
//line 1
}
Which code fragment, when inserted at line 1, enables the code to read the GDP from the user?
Given the code fragment:
and the information:
- The required database driver is configured in the classpath.
- The appropriate database is accessible with the dbURL, username, and passWord exists.
What is the result?