Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Originally posted by Thomas Paul:
Will this code compile? If it does, what happens when it runs?
[ August 07, 2003: Message edited by: Thomas Paul ]
Meng Yi
Regards, Manish
SCJP 1.4
Originally posted by Thomas Paul:
Will this code compile? If it does, what happens when it runs?
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
So does this mean that Type casting in case of interfaces are checked at run time ..and in case of class , Type casting is checked at compile-time.
SCJP2. Please Indent your code using UBB Code
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
"I'm not back." - Bill Harding, Twister
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |