I'm having an issue with this inside a method:
public Time getArrivalTime()
{
Time temp = this;
temp.doSomeThing();
return temp;
}
I want to use method doSomeThing() only on temp, but somehow I use this methon also on this obj.
Can someone explane me please where is my mistake?