What is object ?
Object is nothing but memory allocation for to store values and do some functions.The main usage of object is reusable.Objects are expose the behaviour of class.by creating objects we can use the fucntionality of class for various different type of actions.
example:
class one
{
int a,b,c;
public one()
{
a=0;
b=0;
c=0;
}
public int add(int a,int b)
{
c=a+b;
return c;
}
}
//here is the entry point.
static class entry_point
{
static [...]