Forum : NEED SOME DISCUSSION ABOUT FUNCTION , PROPERTY AND DOCUMENTATION..
Brief description  about Online courses   join in Online courses
View Bikram Ballav  The Indian Student 's Profile

NEED SOME DISCUSSION ABOUT FUNCTION , PROPERTY AND DOCUMENTATION..

Currently i have two questions in my mind and they are
1. what is the difference between function and property?
2.we know that javadoc tool generate API documentations from doc comments in source code. Now what is API documentation ? Need some brief discussion with example about it.
Asked by Bikram Ballav The Indian Student | Jun 17, 2010 |  Reply now
Replies (2)
View bikram-ballav the-indian-student 's Profile
Thank you Sir for your reply.My doubt is almost clear .
Jun 19, 2010
View arun kumar das 's Profile
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