Question: Question 7 What is the output? public class B { int number; public void call(B obj) obj.number - -; } } public class temp {

Question 7 What is the output? public class B { int number; public void call(B obj) obj.number - -; } } public class temp { B objl = new BO; obj.number = 1; objl.call(obj1); System.out.println(objl.number); Your answer: 2 ype here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
