Object Oriented Software Engineering View all facts Glossary Help |
| subject > programming language construct > procedure |
| procedure comparison table | ||||||||
| Subject | has definition | is part of | have purpose | hide | have | be | is a subtopic of | have advantage |
|---|---|---|---|---|---|---|---|---|
| constructor | A procedure that is called whenever a new object is created | a class | to initialize the instance variables of a newly created object and perform any other needed initialization | one or more preconditions | The Basics of Java | |||
| method | A concrete implementation of an operation; a procedure in a class | the details of procedures | a comment at its head if the method is non-obvious | equivalent to the terms "routine", "function" or "procedure" which are used in non object oriented languages | 2.4 - Methods, Operations and Polymorphism | when 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 construct: statement Up: programming language construct Previous programming language construct: package^2