| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Method_implementation |
In object-oriented programming, a class implementation file is often used to contain the implementation code for the method(s) of a class. Programming languages like C++ and Objective-C make use of these implementation files so as to separate the interface and implementation of these methods.
ExampleClass.cpp would look like this:In Main.cpp file like so:
Alan Griffiths (2005). "Separating Interface and Implementation in C++". ACCU. Retrieved 2013-05-07.| View original on Wikipedia | Back | FazBrowse Home |