Ya i did try,but i dint get whats getting passed through test() method and its output from test method.
Type: Posts; User: Jawad24
Ya i did try,but i dint get whats getting passed through test() method and its output from test method.
I want to know how exactly this increment operators are working in test method.
class W
{
public static void main(String[] args)
{
int i=0;
int j= i++ + test(i) + i;
System.out.println(i);
System.out.println(j);
}
static int test(int i)