• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Advanced OOP > Differences in OOPs

Differences in OOPs

Not all object-oriented computer languages are created equal. OOP-based languages, such C++ and Java, depend heavily on the use of classes as a way to define what an object will consist of and how it will be used by other programmers.

A class is essentially a template (or blueprint) for use in object creation. In class-based computer languages, a class and an object are two distinct entities. Classes are used during design, and objects are used at runtime. We say that an object is an instantiation of a class, or that a class comes to life when an object is created from it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint