• Register
0 votes
107 views

Problem:

Can any one help me in array programming?
 
What happen when an individual element of an array is passed to a method?
7 5 3
5,380 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

The correct answer for 

When an individual element of an array is passed to a method: is 

the method does not have direct access to the original array.

This will help you.

8 6 2
10,530 points

Related questions

0 votes
1 answer 5 views
5 views
Problem: Are arrays passed by value or passed by reference in Java? Thanks
asked Mar 15 ummesalma 25.2k points
1 vote
1 answer 16 views
16 views
Problem: I’m new in java. I don’t know How to Get the sum of each individual row and column in a 2D array ? I have the sum of one row and one column but I am looking to find the sum of each row and column individually. For example the output would be "Sum of row 1 is.. Sum of row 2 is.. and so forth. Same goes for the columns as well. Please help me to know. Thank you.
asked Mar 8 Shovo210 14k points
0 votes
1 answer 18 views
18 views
I have managed to do this: when I enter 7 numbers from 1 to 7 it works for me, but when I enter larger numbers it does not work for me .. why? Here is the code that I have done so far .. I would appreciate your help .. The question I have is: in which part ... cout << "Sort by Ascending Exchange:" << std :: endl; printArray (temporaryArrangement, sizeArray); std :: cout << std :: endl; return 0; }
asked Aug 15, 2020 game 4.6k points
0 votes
1 answer 3 views
3 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Mar 29 tuhin1 48.9k points
0 votes
1 answer 57 views
0 votes
1 answer 7 views
7 views
PROBLEM : Is there anyone to helo on > 'how to get the index of an element in an array java' ?
asked Mar 16 Samiur1 38.4k points
0 votes
1 answer 93 views
93 views
Problem: Hi there! I am a new learner. I want to know how I can find the position of an element given by the user in an array. I tried some programs but could get the logic. The element, whose position is to be found, will be taken as input from the ... has to choose any element of that array. Can anybody here help me understand the logic of the program? Example program will be a plus. Thanks!
asked Jan 2 Code Learner 9.2k points
0 votes
1 answer 3 views
3 views
Problem: I'll make a submission for a response to my question. Please, I have searched the internet but have not found any useful material, and I am now having trouble continuing my studies.
asked Mar 30 tuhin1 48.9k points
0 votes
1 answer 5 views
5 views
Problem: Can anyone show me what to do to fix the problem in the broken code above so that it stops throwing an error message? ValueError: setting an array element with a sequence. thanks in advance
asked Mar 24 ummesalma 25.2k points
0 votes
1 answer 16 views
16 views
Problem: Throws this error message: File "mypath\mypythonscript.py", line 3484, in secondfunction RRDuringArray = p.array(UnFilteredDuringExSummaryOfMeansArray,dtype=p.float64)[1:,3] ValueError: setting an array element with a sequence. Can anyone show me what to do to fix the problem ... error message? EDIT: I did a print command to get the contents of the matrix, and this is what it printed out:
asked Feb 18 Mashhoodch 13k points