All things are lawful, but not all things are profitable.
Trying to collect the broken pieces of my life,in the process of making out a beautiful picture out of it.
Sachin Tripathi wrote:For 1)add a method:
double distance(int x,int y)
{
//calculate distance between this and
//method parameter,return thedistance
}
2)add another method:
double distance(MyPoint m)
{
//CALCULATE DISTANCE BETWEEN
//this and and instance variable of m
//reference
//return the distance
}
Yeah man I understand what you wrote but I really need the body of the method, I dont know how to do that.
Yeah man I understand what you wrote but I really need the body of the method, I dont know how to do that.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Trying to collect the broken pieces of my life,in the process of making out a beautiful picture out of it.
All things are lawful, but not all things are profitable.
Trying to collect the broken pieces of my life,in the process of making out a beautiful picture out of it.
Consider Paul's rocket mass heater. |