56. public class Main
{
public static void gfg(String s)
{
System.out.println("Training");
}
public static void gfg(Object o)
{
System.out.println("Test");
}
public static void main(String args[])
{
gfg(null);
}}
a) Training
b) Test
c) Test Training
d) compiler error
Answers
Answered by
0
I think the answer will a) Training. It can be wrong also but please don't angry with me because I am new at brainly and I don't know much about computer science
VedaantArya:
Correct, but why?
Similar questions