Question: Consider the following method: public void dosomething ( int [ ] a ) { a [ 2 ] = a [ 1 ] a [
Consider the following method:
public void dosomethingint a
;
If is declared as
int ;
what are the values in a after dosomething is called?
A
B
f
O
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
