Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Method stub
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{about|placeholder method source code|other uses|Stub (disambiguation)}} {{Short description|Short and simple version of a method}} A '''method stub'''<ref name="DaleWeems2004">{{cite book|author1=Nell B. Dale|author2=Chip Weems|title=Programming in C++|url=https://books.google.com/books?id=mxZBPSjSEYUC&pg=PA308|year=2004|publisher=Jones & Bartlett Learning|isbn=978-0-7637-3234-9|pages=308}}</ref> is a short and simple placeholder for a [[Method (computer programming)|method]] that is not yet written for production needs. Generally, a method stub contains just enough code to allow it to be used {{endash}} a declaration with any parameters, and if applicable, a return value.<ref>{{cite web | url = http://www.webopedia.com/TERM/S/stub.html | title = stub | date = 23 March 1998 | publisher = WEBOPEDIA | quote = | accessdate = 2012-08-28 }}</ref> A method stub may be used to implement an [[interface (computer science)|interface]] that is defined but for which the implementation is not available.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)