I do not agree. In my URLyBird assignment the header size is 56 bytes and the magic cookie is 259. In fact I do not see why your header size is so big as 257 bytes. [ September 27, 2006: Message edited by: Edwin Dalorzo ]
You seem to be completely right. My version is 1.x.3.
Joined: Feb 04, 2004
Sorry Barry didn't mean to break the house rules!
Edwin just to clarify what I meant by the header size was the total length including each of the record field schemas at the start of the file.
It seemed like too much of a coinsidence for there not to be something in it, but of course I haven't seen data files from other versions of the SCJD exam to confirm this. [ September 28, 2006: Message edited by: Mark Smyth ]
every .class file you generate contains a version stamp: two unsigned short integers starting at byte offset 4, right after the 0xCAFEBABE magic number. so assignment follows same path as far as version number and magic cookie are concerned.If interested see here..
SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "