I really just suspect this, but I'm asking to confirm one way or the other.
In the study books I have read about interfaces, all of the examples I have seen so
far show the interface being created, then the functions placed in whatever class
they seem to be working with at the time. Yet they say that you create interfaces
so that they can be used by more than one class or project type. This leads me to
believe that perhaps in the real coding world, you would actually create the interface
and the implementation separate, and then just use it in whatever class you are
working on as the need arises. The reason I think this makes more sense is it
seems a cleaner approach as opposed to mixing it in with a class that you could
very well end up discarding, which would then break the functionality of any other
classes you used the interface in. Am I correct?