Question: Choose all the true statementsAnytime you pass a primitive type ( e . g . int, long, float, char ) to a method, a copy
Choose all the true statementsAnytime you pass a primitive type eg int, long, float, char to a method, a copy of the value is made.Any changes made to the parameter is local to the method.Anytime you pass an object, a copy of the reference to the object is passed.Any changes made to the object persist after the call to the method
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
