KnowledgeBoat Logo

Computer Applications

What are the advantages of defining a method in a program?

User Defined Methods

ICSE 2010

77 Likes

Answer

Advantages of defining methods in a program are:

  1. Methods help to manage the complexity of the program by dividing a bigger complex task into smaller, easily understood tasks.
  2. Methods are useful in hiding the implementation details.
  3. Methods help with code reusability.

Answered By

45 Likes


Related Questions