API Contents

Question 1 of 16

Given the following overloaded method declarations
    private static void objectCount(int i)
    {
        //version 1
    }
    
    private static void objectCount(Integer i)
    {
        //version 2
    }
Which overloaded method gets called as a result of the following statement - "objectCount(new Byte((byte)10));" ?