Closer Look at Methods

Tutorials Shared by the Internet Community

Advertisements


Synopsis

A method is a set of statements grouped together to perform a specific task.

Statistics

  • Total Hits - 26834

  • Total Votes - 98 votes

  • Vote Up - 42 votes

  • Vote Down - 56 votes

  • Domain - www.ucertify.com

  • Category - JAVA/JAVA Misc

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-12 11:34:31

Description

A method is a set of statements grouped together to perform a specific task. It is written to define the behavior of an object or a class. In object-oriented programming, a behavior is referred to as a message that one object sends to another object. Behavior is the only way by which an object can do anything. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements