Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

5.6. Advanced Topics

We have discussed the basics of OOP throughout this chapter, but there are some other topics that are very important to your understanding.

5.6.1. Interface

As we have discussed in this chapter, the way the other objects interact through each other is with methods. We discussed the header files created when you create a class. This is often called the interface because it tells other objects how they can interact with your objects. Implementing a standard interface throughout your application will allow your code to interact with different objects in similar ways. This will significantly reduce the amount of object specific code you need to write.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial