Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > procedure
Next programming language constructstatement    Upprogramming language construct    Previous programming language constructpackage^2   

procedure comparison table
Subject has definition is part of have purpose hide have be is a subtopic of have advantage
constructorA procedure that is called whenever a new object is createda classto initialize the instance variables of a newly created object and perform any other needed initialization one or more preconditions The Basics of Java 
methodA concrete implementation of an operation; a procedure in a class  the details of proceduresa comment at its head if the method is non-obviousequivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages2.4 - Methods, Operations and Polymorphismwhen using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computes

Next programming language constructstatement    Upprogramming language construct    Previous programming language constructpackage^2