Welcome to the Treehouse Community
Looking to learn something new?
How does the compiler cast in background?
I wonder how the compiler knows how to "translate" a given object (e.g. read by the ObjectInputStream) to a Treet-Object (or any other user defined object).
From my point of view the compiler reads the object out of a byte-stream (like FileInputStream) and somehow translates it to an object... but how?
I'd really like to understand the mechanics behind this if that's not an awful big study itself.
Thanks for reading and your answers in advance, Michael