1. Function is nothing but the operation certain things perform. We all eat food thats a function and property is the characteristic of a certain thing, we have the ability eat food thats out property.
In Programming terms: You write a function to add 2 numbers which looks something like this:
int FunctionADD (int num1, int num2)
{
int num3 = num1 + num2;
return num3;
}
here adding 2 numbers is the function and it return an integer answer which you can call as it's property.
2. API Documentation: This is Application Programming Interface which enables for a software installed in your computer to interact with other softwares on your computer. For example, we have installed Java in our system which has to communicate with the Operating System to perform desired operations. API does exactly that - it helps Java to communicate with OS.
API documentation is nothing but a document which explains how your sofwares interacts and necessay configurations if required.
Jun 18, 2010