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
avanturin [10]
3 years ago
15

What will the following program display?

Computers and Technology
1 answer:
Lynna [10]3 years ago
8 0

Answer:

The program will display the values that are given below:

1 3.4  

0 0.0  

1 3.4  

Explanation:

The given program will return above values that can be defined as:  

  • In the program, we define a class that is "ChangeParam" in this class we define main method in the main method we define two variables that are "x and y" variable x is an integer variable that assigns value 1 and variable y is a double variable that assigns value 3.4. and we will print the variable value.
  • Then we call the changeUs() function. In this function, we pass x and y local variables. In this function, we pass two variable that is "a and b" as a parameter and assign value 0 and 0.0. that's why it will prints "0 0.0" value.  
  • After calling changeUS() function we print the local variable "x and y" values that are 1 3.4.
You might be interested in
In what scenario should dhcp servers also be active dhcp clients?
mrs_skeptik [129]
DHCP stands for Dynamic Host Configuration Protocol. It is protocol responsible for c<span>onfiguring the IP address and other TCP/IP settings on network computers. </span>There is no scenario in which DHCP servers also be active DHCP clients. They should never be both a DHCP server and DHCP client. The two sides (client and server) should be always separated.
4 0
3 years ago
Many people object to increased cybersecurity because _____.
yawa3891 [41]
Depending on what kind of security measures are implemented, D would definitely be a contender. However, B is also something to take into consideration. I would answer D.<span />
5 0
3 years ago
Read 2 more answers
Billy used to take care of his laptop. However, one day he lost his laptop. He lost all his data, and there was no way to retrie
katrin [286]
D he didnt have backup obv

5 0
3 years ago
Read 2 more answers
The expression that is tested by a switch statement must have a(n) __________ value.
Hitman42 [59]

The answer is relational.

6 0
3 years ago
For this step, submit your work in the programming environment by
Tems11 [23]

Answer:

is there some oppsense you can choose from

7 0
2 years ago
Other questions:
  • Magnetic ram (mram) uses ____ rather than an electrical charge to store data.
    6·1 answer
  • What internet service provider first dominated the internet in the 1990s?
    15·1 answer
  • A program requires that you change your screen size from 1024 X 728 to 800 X 600. In which of the following locations should you
    7·2 answers
  • Date criteria are automatically enclosed in ____ when entered in a query design.
    11·1 answer
  • A sequence of one or more characters is called
    14·1 answer
  • Match each scenario to the absolute value expression that describes it. 1. the distance moved when going backwards five spaces i
    13·2 answers
  • What is the name given to a collection of related fields such as ID number,name and address?
    12·1 answer
  • The processing power of a computing device is measured by its _____.
    10·1 answer
  • A ____ is a a set of presentation rules that control how text should look. It is applied to an XML file to change the collection
    9·1 answer
  • (Synchronized threads) Write a program that launches 1000 threads. Each thread adds a random integer (ranging from 1 to 3, inclu
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!