Professional Documents
Culture Documents
Session 12.2
Session 12.2
package p1;
int a;
Test(int i)
{
a = i;
}
Test incrByTen()
{
Test temp = new Test(a+10);
return temp;
}