学年

教科

質問の種類

情報 大学生・専門学校生・社会人

Oracle certified Java Programmer Gold SE11 IT系ベンダー資格のOracle certified Java Programmer Gold SE11の資格勉強をしているのですが、もし、Javaに詳しい人がいるのでしたら、 第6章... 続きを読む

8. 次のコードをコンパイル、 実行したときの結果として、正しいものを びなさい。 (1つ選択) } var sql = "select * from item where id = ?": try (var ps = con.prepareStatement (sql)){ ResultSet rs = ps.executeQuery(); // do something 0件の検索結果が戻される 11. 次のコードをコンパイル、実行したときの結果として、正しいものを選 びなさい。(1つ選択) var sql = "select * from emp"; try (PreparedStatement ps = con.prepareStatement(sql){ ResultSet rsps.executeQuery(); System.out.println(rs.getString(2)); なお、 検索する対象となるempテーブルは、以下のレコードが登録さ れているものとする。 DEPARTMENT A. B. 全件の検索結果が戻される C. コンパイルエラーが発生する D. 実行時に例外がスローされる ID NAME 1 ALLEN R&D A. B. executeQueryメソッド C. executeメソッド D. executeBatch メソッド メソッドとして、最も適切なものを選びなさい。 (1つ選択) executeUpdate メソッド 19. JDBCを使ったデータベースプログラミングをしている。 UPDATE文を 実行した結果、 何件更新されたかを調べたい。 PreparedStatementの P314 2 SCOTT SALES 3 BILL ACCOUNTING A. 「1」 と表示される Marit B. 「2」 と表示される C. 「ALLEN」 と表示される D. 「SCOTT」 と表示される E. コンパイルエラーが発生する F. 実行時に例外がスローされる 第6章 JDBCによるデータベース連携 (問題) <->P316 P314 10. 次のコードをコンパイル、 実行したときの結果として、正しいものを選 びなさい。 (1つ選択) var sql = "delete from item where id = ?"; try (var ps = con.prepareStatement(sql))( ps.setInt(1, 1); ps.executeUpdate("update item set name="test' where id = ?'); 12. 次のコードをコンパイル、 実行したときの結果として、正しいものを選 びなさい。 (1つ選択) var sql = "select count(*) from item"; try (PreparedStatement ps = con.prepareStatement(sql)){ System.out.println(ps.execute()); なお、検索する対象となるitemテーブルは、以下のレコードが登録さ れているものとする。 A. DELETE文が実行される id name 1 B. UPDATE文が実行される banana 2 C. コンパイルエラーが発生する apple 3 D. 実行時に例外がスローされる P316 orange 298 ※次ページに続く 299

回答募集中 回答数: 0
TOEIC・英語 大学生・専門学校生・社会人

解答をお願いします。

rom the information we obtained, we believe First Bank and Union Bank will (D) Judgment most Iikely merge to form the biggest bank in the country. (B) Judge (A) Judging (C) Judged Tou should bring your own laptop computer, since all the computers in the office out of order. (D) being (A) is (B) are (C) been to Rome to start her own business. (D) movement 13. Janet spent 10 years in Paris before (A) move (B) moves (C) moving the spreadsheet software. (C) are updated 14.I received an e-mail from SmartSoft and (A) updating (B) update (D) updated tA 15. Mr. Carlton is seeking a position as a bond analyst on Wall Street. (C) challenged (A) challenge (B) challenging (D) to challenge 16. in 1909, the Nara Hotel has been popular with celebrities from around the world (A) Establishes (B) Establishing (C) Established (D) Having establishe 17. Before you apply for the position, you need to have the application form supervisor. (A) signed .by your (B) sign (C) been signed (D) are signing A 18. Please to the attached file when you prepare the documents for the presentation. (A) refers (B) refer (C) referred (D) referringnie 19. her extensive knowledge of computer programming, Ms. Harris is the top candidate for the position. (A) Give (B) Giving (C) Having given 20. Mr. Peterson, the department manager, insisted that all employees (D) Given time. their work on (A) finish (B) has finished (C) finishingbnoo (D) finished

解決済み 回答数: 1
TOEIC・英語 大学生・専門学校生・社会人

答えをお願い致します

に硬えなまい 6還koを2人 -問5)に衝 ey eeisne nliy p amnel yidion. td Laward the tamk sitting in ir addenton iagaond them end direct ll bei jmore werything 1 are far mre jieated han thet m ie eim end tenton menngemen we manage diferent yPeS rattention throgD amake and nt er ad iferent challenges atart by discussing dy These dierent ama( A )mot hout cm 1 eeeeitege wed mpoa pene tuieeme deer ee ee 記和romehine Pr mmpto ppoee yo aminiBDmr emiy is wething teloyiion.You may etrugmie 語 uhere cmsduay ue mr enoee rand yeu fn order syomrbook ae amtary demonr Yo nm chatdeemr La Neon ie aneede Untrtumatetyie amusele that has beome| HURE meet rua to uee The geed newe is thet Yoluntary attention can be menea dou appheetion. ikesny msdlaitgrows( B )withewerserThat syou can evereome *dietractions and develop the ability to concentrete on mand seiongasyore wilipgteputin thework mg aentien im the opposte ofvelamtery attenton、You heve no contrl gnah5E il db 365 tteotisBiegrdle語Ph foouae you aro. Ao e Pairrme ikmrowtutonoms ie wine nm ary attention ia what you use to mre reading s book in the to concentrate ii Yudedde what catehes your notice an Inyolentary attention has great valoe when our safety ia at risk。 Imagine our amcestors hunting for food.They wouldve been at risk of attacks fom wild animals as ell ss fom members of neighboring, ageressive tri Fngy aggressive tribes Involantary attention kept ]hem alert。and thus kept them sate (most ofthe time)、 Cre kidom in stuatione today that threaten our ives We hive in rlative satet 0 和relative safety We go about our days uncpneerned that our ine aa neerne r iives mi peatii に ight be put at risk at any g The problem is cnr imveluntary aueenton, an i mr aiTention, an important part of onr genetic ii二

回答募集中 回答数: 0