Can someone please explain how the correct output is option 3?
Thanks.
(First lets put CODE tags around the code so we can read it.
- Mark)
1. Mobile.showDevice,Mobile.device Mobile.showDevice,Mobile.device Mobile.showDevice,Mobile.device
2. Phone.showDevice,Phone.device Mobile.showDevice,Mobile.device Mobile.showDevice,Mobile.device
3. Mobile.showDevice,null Mobile.showDevice,Mobile.device Mobile.showDevice,Mobile.device
4. Compile Time error
5. RunTimeException is thrown
[ August 27, 2005: Message edited by: Mark Spritzler ]