Google+
Java is the future !: Quiz of the day | OCPJP - 16 Aug 2011
Java is the future !
Pages
Home
Java interview questions
Contact me
JavaRAQ
Video Tutorials
Tuesday, August 16, 2011
Quiz of the day | OCPJP - 16 Aug 2011
What is the output for the above code ?
Options :
a) Compile with error - Not allowed to override the return type of a method with a subtype of the original type.
b) class A - return C
c) class B - return D
d) Runtime Exception
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment