61.
What will be the output of the following Java code?
class test 
{
    int a;
    int b;
    void meth(int i , int j) 
    {
        i *= 2;
        j /= 2;
    }          
}    
class Output 
{
    public static void main(String args[])
    {
        test obj = new test();
  int a = 10;
        int b = 20;             
        obj.meth(a , b);
        System.out.println(a + " " + b);        
    } 
}

62.
What will be the output of the following Java program?
class A 
{
    int i;
    public void display() 
    {
        System.out.println(i);
    }    
}    
class B extends A 
{
    int j;
    public void display() 
    {
        System.out.println(j);
    } 
}    
class Dynamic_dispatch 
{
    public static void main(String args[])
    {
        B obj2 = new B();
        obj2.i = 1;
        obj2.j = 2;
        A r;
        r = obj2;
        r.display();     
    }
}