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
Which OS function does a CLI fulfill? A User interface B Running applications C Hardware interface D Booting
konstantin123 [22]

Answer:

User Interface

Explanation:

4 0
3 years ago
You work for the Contoso Corporation. You have a server that acts as a file server for clients. You must make sure that the serv
Anika [276]
Get a dedicated server with 6-10gb RAM, which might be able to run a lot, while staying up with no lag.
6 0
3 years ago
IN PYTHON LANGUAGE
shtirl [24]

favorite_color = input("Enter favorite color:\n")

pet = input("Enter pet's name:\n")

num = input("Enter a number:\n")

print("You entered: "+favorite_color+" "+pet+" "+num)

password1 = favorite_color+"_"+pet

password2 = num+favorite_color+num

print("First password: "+password1)

print("Second password: "+password2)

print("Number of characters in "+password1+": "+str(len(password1)))

print("Number of characters in "+password2+": "+str(len(password2)))

This works for me.

8 0
3 years ago
Read 2 more answers
Which of these inventions was necessary to permit magnetic recording?
eimsori [14]
It’s C vinyl records permit magnetic fields
4 0
3 years ago
Read 2 more answers
Use these sentence starters to explain how Cat Insanity is an analogy for debt repayment.
denpristay [2]

Answer: Can Insanity is like a debt repayment, if you don't pay or feed it on time they will die/ interest rate of the bank will be more and more expensive.

Explanation:

7 0
2 years ago
Other questions:
  • A network administrator needs information about the printers that employees can access. Where can he find the information? The a
    10·2 answers
  • Briefly explain the cooling mechanism implemented in a fanless laptop
    15·1 answer
  • A c++ member function that uses, but does not change, the value of a member variable is called
    13·1 answer
  • Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow
    8·1 answer
  • Assuming you have a TCF free student checking account, how many maximum overdraft fees can you incur in one day?
    12·1 answer
  • Write a program that generates a random number between 5 and 15 and asks the user to guess what the number is. If the user’s gue
    5·1 answer
  • "What technology will examine the current state of a network device before allowing it can to connect to the network and force a
    6·1 answer
  • What is required to become a good critical thinker? Use a process when dealing with a big issue. Practice the right skills over
    9·1 answer
  • Office 365 ProPlus can be deployed to your enterprise. When doing so, which tool enables you to choose the language, hardware ar
    5·1 answer
  • What will help the programmer understand what’s going on in the program?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!