View Single Post
  #4 (permalink)  
Old 01-19-2008, 12:43 AM
wsaryada wsaryada is offline
Senior Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 100
wsaryada is on a distinguished road
If the getTitle() method is defined in the Video class then you don't have to check whether the media is an instance of DVD, because when a Video object refered to an instance of DVD the getTitle() will return the DVD title.
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote