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
While there are a lot of programming languages out there, one of the most widely used when it comes to web applications and web
Crazy boy [7]

Explanation:

The main differences between Javascript and other programming languages are as following :-

  1. Javascript is a scripting language so it doesn't need to be compiled to get executed while other programming languages like C++,Java etc need to be compiled.
  2. Javascript is typed dynamically while other languages are static typed.
  3. Browsers can execute Javascript code on the other hand they can't execute Java,C++ etc.
8 0
3 years ago
Grandma Ester normally gives you hugs for your birthday - one for every year old you are. When you turned 15, she squished you w
horsena [70]

Answer:

Written in Python

age = int(input("How old are you? "))

for i in range(1,age+1):

     print("**HUG**")

Explanation:

The first line prompts the user for age

age = int(input("How old are you? "))

The next line is an iteration that starts from 1 till the user input

for i in range(1,age+1):

The last line prints "**HUG**" while the iteration is true

     print("**HUG**")

4 0
3 years ago
If you were going to construct a table that only included shape names with number prefixes, which shape would you include
NikAS [45]
The answer would be A. square
3 0
4 years ago
A user's computer will not boot. A technician notices four indicator lights on the backside of the
vaieri [72.5K]

Answer:

B.

Explanation:

Computer manual is the user guide that comes along with the computer set to inform the users about the functions, ways to assemble the parts, and so on.

The user manual consists of guide for the users specially for electronic products such as computers, refrigerators; softwares, and so on. These manuals are written by technical writers, programmers, etc.

<u>In the given scenario the technician needs to refer to computer manual to know the meaning of the lights on the backside of the computer.</u>

So, the correct answer is option B.

6 0
3 years ago
Question 3 of 25
Harlamova29_29 [7]
B as clock speed measures the amount of fetch-decode-excute cycles per second, or the amount of data processed per second measure in GHz.
8 0
3 years ago
Other questions:
  • Briefly explain the difference between modulating and encoding?
    14·1 answer
  • What kinds of online behaviors could be considered cyberbullying?
    7·2 answers
  • Create a list of 15 colleges in Texas
    8·2 answers
  • Linda is training to become a certified network design expert and consultant. While researching about the process of cellular ra
    12·1 answer
  • Should a waiting thread receive priority over a thread first attempting to enter a monitor? What priority scheme, if any, should
    9·1 answer
  • Discuss the challenges of not using the five elements of multimedia in a positive manner<br>​
    7·1 answer
  • Dani wants to create a web page to document her travel adventures. Which coding language should she use?
    11·2 answers
  • What is the output of the following program?
    11·2 answers
  • What are three advantages of using enterprise software in an organization?
    10·1 answer
  • What do you do when you have computer problems? Check all that apply.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!