//Code=java//

Here is the code of call by value and call by reference


class test
{
void meth (int a,int b)
{
a*=2;