Method (computer programming): Difference between revisions

Content deleted Content added
spelling, punctuation.
Line 126:
 
==Methods in C++==
Some procedural languages were extended with object-oriented capabilities to leverage the large skill sets and legacy code for those languages but still provide the benefits of object-oriented development. Perhaps the most well-known example was the object-oriented extension of C known as C++. Due to the design requirements to add the object-oriented paradigm on to an existing procedural language message passing in C++ had some unique capabilities and terminologies. For example, in C++ a method was also known as a ''member function''. C++ also had the concept of virtual methods:
 
===Virtual methods===