What is a method?

A way of doing something, especially a systematic way; implies an orderly logical arrangement (usually in steps)

Showing Answers 1 - 1 of 1 Answers

A method is a subroutine to a class or it is a set of code referred by a name, these methods can be invoked or called at any part of the program to execute their set of codes.At runtime,methods have access to data stored in an instance of the class.A class can contain more than one methods.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions