- Home
- Output Questions for Class 10 ICSE Computer Applications
Give output of the following function definition and also write the
Output Questions for Class 10 ICSE Computer Applications
Give output of the following method definition and also write the mathematical operation they carry out:
void test4(String x, String y)
{
if(x.compareTo(y) > 0)
System.out.println(x);
else
System.out.println(y);
}
if "AMIT" and "AMAN" are passed to the method.