1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Shtirlitz [24]
3 years ago
7

Why can’t Java methods change parameters of primitive type? Java methods can have no actual impact on parameters of any type. Pa

rameters of primitive type are considered by Java methods to be local variables. Parameters of primitive type are immutable. Java methods cannot accept parameters of primitive type.
Computers and Technology
1 answer:
Firlakuza [10]3 years ago
7 0

Answer:

Parameters of primitive type are considered by Java methods to be local variables.

Explanation:

The parameters in JAVA are passed by value only. This means a parameter is considered to be local and a copy of the value is created used locally.

So if you change parameters of the primitive type so the value you change is local to the method. This implies that a copy of the parameter is made and the changes made on this copy will not affect the argument's value. In a nut shell, the parameters of primitive type are considered by Java methods to be local variables.

You might be interested in
Can someone write an essay on data storage and describe the different storages I have listed below•
Jobisdone [24]

Answer:

Explanation:

Punch card is the oldest computer storage; followed by tape and then floppy disk. Hard drive goes back as far as floppy but is still in use today. CD/DVD/BR discs are all later storage but are also used for storing music and videos. USB flash, SD card, SSD and cloud storage are the common technologies used today for data storage.

4 0
3 years ago
Read 2 more answers
Where can the container code be found in Google Tag Manager? (select all answers that apply) a. In a pop-up window after you cre
saveliy_v [14]

Answer:

Option A and C.

Explanation:

The container code can be located in Google Tag Manager inside a pop-up window when they set up an account as well as container and Under "Admin" through choosing that container and clicking Installing Google Tag Manager.

The main advantage for Google Tag Manager, ever though, would be that it create it in much easier manner for marketing companies to execute identifiers without depends on developers to use it. Developers tend to also be preoccupied with some other high-priority initiatives so tagging mostly finishes up on the other side burner

7 0
3 years ago
1. Write Python code to implement the following:
ZanzabumX [31]

Answer: no why huh hmmmmmmm

Explanation:

6 0
2 years ago
Read 2 more answers
Which software application is most appropriate for creating slideshows using text, charts, photographs, clip art, and video? dat
Daniel [21]
I'd say powerpoint I always use this to show graphs and stuff
4 0
3 years ago
Read 2 more answers
g create your own min function that finds the minimum element in a list and use it in a separate function
skelet666 [1.2K]

Answer:

Following are the code to this question:

def min_function(x):#defining a method min_function

   mini= x[0]#defining a variable to hold list value

   for i in x[1:]:#defining for loop to count values

       if i < mini: #defining if block to check minimum value

           mini = i #holding minimum value in mini variable

   return (mini)#return value

print(min_function([9,8,7,6,5,4,3,2,1,11,19]))#use print method to call min_function

Output:

1

Explanation:

In the above code, a method min_function is defined, that holds a list as the parameter and inside the method, a mini variable is defined, that holds a list value and use a for loop to define a condition to check the minimum value in the list and store its value in a mini variable and use a return keyword to return its value.

At the last print, the method is used to call the above method with accepting list values.

7 0
3 years ago
Other questions:
  • ____ is a generic term for "evil software." threat worm virus malware
    9·1 answer
  • Which is the best description of a hierarchical report?
    13·1 answer
  • Why is it important to save a print copy of electronic sources?
    6·1 answer
  • Which type of transmission do modems use ?
    15·2 answers
  • Shelby likes to play video games on an old Atari video game system. No matter how old the cartridge, when she inserts it into th
    14·2 answers
  • (1010100) convert into hexadecimal number system <br><br>will MARK AS BRAINLIEST ​
    6·1 answer
  • Question 1 (1 point)
    13·1 answer
  • A program that converts a program to binary all at once and runs the entire program when finished with the conversion.
    5·1 answer
  • The __________ contains the basic elements of a user's program and can be generated directly from a compiled object file
    15·1 answer
  • [80 points] Fill in the missing word.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!