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
  • PrintPrint

Objects and “new”

So far, I’ve said little about an important concept in object orientation: pointers to objects. This concept turns out to be critical in the more advanced concepts in object orientation.

When a program interacts with other programs in a graphical user interface or network environment, it typically passes or receives pointers to objects. Passing pointers is usually far more efficient than creating new copies.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint