Java Interview question-7
Question 61: Find the output of below code snippet. What will print and why?
package learning;
public class FindOutput3 {
public static void main(String[] args) {
String x = "ab";
change(x);
System.out.println(x);
}
...
tusharkant.hashnode.dev5 min read