4-14 more on interfaces

4-14 more on interfaces - type in certain methods....

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Computer Programming 4/14/08: More on Interfaces Making an integer out of an int: Integer x=new Integer(5); Why would we do this? So we can use the comparable interface and therefore we can use any primitive
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: type in certain methods. Interfaces let you code just once...
View Full Document

Ask a homework question - tutors are online