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

52.
Which of these is correct about passing an argument by call-by-value process?

53.
What will be the output of the following Java code?
class overload 
{
    int x;
int y;
    void add(int a) 
    {
        x =  a + 1;
    }
    void add(int a, int b)
    {
        x =  a + 2;
    }        
}    
class Overload_methods 
{
    public static void main(String args[])
    {
        overload obj = new overload();   
        int a = 0;
        obj.add(6);
        System.out.println(obj.x);     
    }
}

54.
What will be the output of the following Java code?
class overload 
{
     int x;
double y;
     void add(int a , int b) 
     {
         x = a + b;
     }
     void add(double c , double d)
     {
         y = c + d;
     }
     overload() 
     {
         this.x = 0;
         this.y = 0;
     }        
 }    
 class Overload_methods 
 {
     public static void main(String args[])
     {
         overload obj = new overload();   
         int a = 2;
         double b = 3.2;
         obj.add(a, a);
         obj.add(b, b);
         System.out.println(obj.x + " " + obj.y);     
     }
}

58.
What will be the output of the following Java program?
class Abc
{
    public static void main(String[]args)
    {
        String[] elements = { "for", "tea", "too" };
        String first = (elements.length > 0) ? elements[0]: null;
    }
}

60.
At line number 2 in the following code, choose 3 valid data-type attributes/qualifiers among "final, static, native, public, private, abstract, protected"
public interface Status
   {
        /* insert qualifier here */ int MY_VALUE = 10;
   }