IS5103 WEEK 1 PreAssesment
1) Which of the following can fill in the blanks in order to make this code compile? __________ a = __________.getConnection(url, userName, password);__________ b = a.prepareStatement(sql);__________ c = b.executeQuery();if (c.next()) System.out.println(c.getString(1)); Connection, DataSource, PreparedStatement, ResultSet 2) What is the output of…