Search:

Type: Posts; User: Jawad24

Search: Search took 0.21 seconds.

  1. Re: Hi,Can any one help me to understand this code.Am a beginner.

    Ya i did try,but i dint get whats getting passed through test() method and its output from test method.
  2. Re: Hi,Can any one help me to understand this code.Am a beginner.

    I want to know how exactly this increment operators are working in test method.
  3. Hi,Can any one help me to understand this code.Am a beginner.

    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)
Results 1 to 3 of 3