What is the result of compiling and running the following class.
class Test
{
public void methodA(int i)
{
System.out.println(i);
}
public int methodA(int i)
{
System.out.println(i+1);
return i+1;
}
public static void main(String args[])
{
Test X = new Test();
X.methodA(5);
}
}