Friday, July 27, 2012
 A method is a function that is written in a class. We do not have functions in java; instead we have methods. This means whenever a function is written in java,it should be written inside the class only. But if we take C++, we can write the functions inside as well as outside the class . So in C++, they are called member functions and not methods.

0 comments:

Post a Comment

Total Pageviews

Followers


Labels

Popular Posts

free counters