Thread: Quiz Time
View Single Post
  #161 (permalink)  
Old 05-16-2008, 05:26 AM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 524
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Im back!!!!

@ rjuyal, you have the correct guess,

@ eku, lacking....

actually it is compilable and runnable code....
There is a member here who asked about nested extending of abstract classes(i may be wrong of its term)... i doubt at first, bec i really don't use that kind of implementation, and i replied to him that experimental code.....

@ eranga,
all within the contructor test will first to execute before at the main method... you're right....

@Jesdisciple
you're correct too,
Quote:
But I think the compiler would complain that "Class B cannot be found" or something to that effect.
the compiler will not complain....

Generally, any class that was extend at the main class(handler) can be invoked its method within the main class by "this" referencing....
Any abstract classes that was extended from other abstract class which extended also in the main class(handler), can be invoked its method directly to main class(handler)...

next quiz please?!!
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
Sponsored Links