A computer science problem by Raj Maiti

observe the following coding in java and find the output:-

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
class Abc{
void process(int a)
{
System.out.print("1");
}
void process(String a[])
{
System.out.print("2");
}

public static void main(String args[])
{
new Abc().process(args);

}
}
×

Problem Loading...

Note Loading...

Set Loading...