1) What output does the following code produce? A a = new A(3, 4); A b = new A(7, 8); System.out.println(a.toString()); 2) What output does the following statement generate? System.out.println(f1(“Another string here”)); 3) What Output does the following statement generate? System.out.println(f0(new Scanner(“This is a string”)));
1) What output does the following code produce? A a = new A(3, 4); A b = new A(7,
8);
System.out.println(a.toString());
2) What output does the following statement generate?
System.out.println(f1(“Another string here”));
3) What Output does the following statement generate?
System.out.println(f0(new Scanner(“This is a string”)));