CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 16 Jul 2025 04:29:55 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080613143235
location: https://web.archive.org/web/20080613143235/https://labs.oreilly.com/code/quiz/quiz.xqy
server-timing: captures_list;dur=0.663484, exclusion.robots;dur=0.026053, exclusion.robots.policy;dur=0.011832, esindex;dur=0.012856, cdx.remote;dur=23.583854, LoadShardBlock;dur=206.236362, PetaboxLoader3.datanode;dur=75.168993, PetaboxLoader3.resolve;dur=78.115076
x-app-server: wwwb-app225
x-ts: 302
x-tr: 264
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 16 Jul 2025 04:29:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-date: Fri, 13 Jun 2008 14:32:35 GMT
x-archive-orig-server: MarkLogic
x-archive-orig-cache-control: no-store, no-cache, must-revalidate
x-archive-orig-pragma: no-cache
x-archive-orig-expires: Fri, 13 Jun 2008 07:32:35 GMT
x-archive-orig-set-cookie: itwyd=11963814975491133857; expires=13-Jun-2009 14:32:36 GMT; path=/
x-archive-orig-set-cookie: SessionID=bff9d9a49974f077; path=/
x-archive-orig-content-length: 7519
x-archive-orig-vary: Accept-Encoding,User-Agent
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 13 Jun 2008 14:32:35 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 27 Nov 2006 17:38:26 GMT", ; rel="prev memento"; datetime="Sun, 18 May 2008 09:58:50 GMT", ; rel="memento"; datetime="Fri, 13 Jun 2008 14:32:35 GMT", ; rel="next memento"; datetime="Sun, 28 Dec 2008 18:35:10 GMT", ; rel="last memento"; datetime="Sun, 28 Dec 2008 18:35:10 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_4_20080613121459_crawl101-c/51_4_20080613142836_crawl100.arc.gz
server-timing: captures_list;dur=0.458529, exclusion.robots;dur=0.019513, exclusion.robots.policy;dur=0.009982, esindex;dur=0.008853, cdx.remote;dur=24.131674, LoadShardBlock;dur=255.829418, PetaboxLoader3.datanode;dur=68.282690, PetaboxLoader3.resolve;dur=156.709922, load_resource;dur=83.639313
x-app-server: wwwb-app225
x-ts: 200
x-tr: 398
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Code Quiz - O'Reilly Labs
Bonus point: What language is this?
Sign in to your account,
or create one now.
or create one now.

Sign in to keep track of your score.
000What book is this code example from?
static boolean getNextSale( PreparedStatementstatement ) throws SQLException { // Omitted is the code that would // Read a sale record from a file, or user input, etc. // If there are no more sale records, return false. if( !more_records ) return false;statement .setString(1, "1234");statement .setString(2, "ABCD.123");statement .setDate(3, new java.sql.Date(2003, 2, 24));statement .setInt(4,50);statement .setString(5, "Net 60");statement .setString(6, "SD2043"); return true; }

Labs Home |
Give Us Your Feedback |
About O'Reilly |
Jobs | Press Room |
Privacy Policy
© 2006, O'Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
Page generated in 0.26 seconds
© 2006, O'Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.
Page generated in 0.26 seconds