Computer Science, asked by nusratjahan0418, 1 month ago

What is the output of the following program ? Justify your answer.
class Check {
public static void chg (String (nm) )
{
nm = "Aamna" ;
// copy "Aamna" to nm
}
public void test() {
String name = "Julius" ;
System.out.println (name) ;
chg(name);
System.out.println(name);
}
}

Answers

Answered by goli1245
0

Answer:

okokkokkkkkkkkkokkkokkkkkokk

Answered by ds6918821
0

Explanation:

opt1 ------------------> Aamna;

opt2 ---------------- > Aamna;

Similar questions