[Shacs] Java Triva
Dr. Tim McGuire
csc_tjm at shsu.edu
Sat Apr 7 18:11:21 CDT 2007
> The first four bytes in the header for Java class files are CA
FE BA BE
> in hexadecimal. There is an interesting connection
between the café St.
> Michael's Alley and the group the
Grateful Dead. Note the first four
> bytes spell
"Café Babe." If you need help making the connection,
speak
> to Mr. Boyle.
Glad to see, Dr. B., that you are
actually progressing in your feeble attempts at making computer science
relevant. First of all, you appropriate my void
clint_eastwood(void); example. (Your modifications, unfortunately,
diminished its value.) And now you're finally bringing up this
example -- I've had my CS272 students convert the first four bytes of a
Java class file into hex as an exercise for several years now
(supplementing the previous exercise of converting 12, 5655, 2550276,
76545336, 3726755 from octal into hexadecimal.)
Welcome to the
21st century.... ;)
TJM
--
Timothy J. McGuire, Ph.D.
Department of Computer Science
Sam
Houston State University
Huntsville, Texas 77341-2090
mcguire at shsu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shsu.edu/pipermail/shacs/attachments/20070407/e7e35a9c/attachment.html
More information about the Shacs
mailing list