Thread: Quiz Time
View Single Post
  #138 (permalink)  
Old 05-13-2008, 01:10 PM
sukatoa's Avatar
sukatoa sukatoa is offline
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
Here is another one,
Code:
public class Null { public static void ehem() { System.out.println("I am who am."); } public static void main(String[] args) { ((Null) null).ehem(); } }
Without compiling the said code, what should be the output?
__________________
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