1Z1-805日本語 無料問題集「Oracle Upgrade to Java SE 7 Programmer (1Z1-805日本語版)」

Person
public Person(int id)
public int getid()
public String getContactDetails()
public void setContactDetails(String contactDetails) public String getName()
public void setName(String name)
public Person getPerson(int id) throws Exception
public void createPerson(int id) throws Exception
public Person deletePerson(int id) throws Exception
public void updatePerson(Person p) throws Exception

正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)

*Item_ID, Integer: PK
*Item_name, Varchar (20)
*Price, Numeric (10, 2)
*Quan, Integer

public static void updatePrices{ // #1: missing line
Connection con) throws SQLException {
// #2: missing line
PreparedStatement updatePrices = con.prepareStatement (updatePricesString);
// #3: missing line { // #4: missing line updatePrices.executeUpdate(); } }

正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)