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
Nadya [2.5K]
3 years ago
6

Given this method comment, fill in the blank in the method implementation. /* Deposits money into the bank account amount: the a

mount to deposit */ public _____ deposit(double amount) { balance = balance + amount; }
Computers and Technology
1 answer:
DIA [1.3K]3 years ago
3 0

Answer:

"void" is the correct answer for the given question.

Explanation:

In the function body the value of balance variable is not return that means we use void return type .The void return type is used when the function does not return any value .

If the function are  int return type that means it return "integer value ".

if the function are  double return type that means it return the "double value" .

The complete implementation of this method is

public void deposit(double amount) // function definition  

{

balance = balance + amount; // statement

}

You might be interested in
Most computers include a network card designed to connect a computer to the net using standard telephone service. True or False?
navik [9.2K]
I believe the answer is false
6 0
3 years ago
_____ are likely to support bigger government, social welfare programs, and legalized abortion.
Amanda [17]
Democrats are likely to support bigger government, social welfare programs, and legalized abortion.
8 0
3 years ago
Read 2 more answers
All of the following are report sections EXCEPT (Points : 4) detail.
lord [1]

Answer:Summary

Explanation: Summary is the briefing of any information or data and reducing the details about the subject.It is not a part of the report while it is designed because detailing is the part where the description is mentioned with every element so the requirement for summary is in that part and not in the report.

Other option are the part of the report designing because group footer is used for presenting the summaries of group, page footer the area below the main text and detail is the description of every element of the subject.Thus the only exception in the designing of report is summary.

6 0
3 years ago
A network interface port has collision detection and carrier sensing enabled on a shared twisted-pair network. From this stateme
hram777 [196]

Answer:

This is an Ethernet port operating at half duplex.

Explanation:

Modern Ethernet networks built with switches and full-duplex connections no longer utilize CSMA/CD. CSMA/CD is only used in obsolete shared media Ethernet (which uses repeater or hub).

7 0
3 years ago
Read 2 more answers
Which of the following is NOT a current trend in manufacturing and logistics?
stepan [7]

The answer is A. I really hope this helps and you have a great day!

3 0
3 years ago
Other questions:
  • Data means a group of numbers. <br> a. True<br> b. False
    7·1 answer
  • A _____ is an audio output device that converts text to speech.
    15·1 answer
  • A _______ area network is a type of wireless network that works within your immediate surroundings to connect cell phones to hea
    9·2 answers
  • What city, the major financial center of its country, is located on the northern coast of the island where the poet who wrote "A
    8·2 answers
  • modified true or false analyze each statement then write technical the statement is true the statement is false underline the wo
    6·1 answer
  • Every presentation should have a beginning, a middle, and an end.
    10·1 answer
  • Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 5
    15·1 answer
  • John's father specifically asked him to get a magnetic disk from the store in his neighborhood. What should John buy?
    5·1 answer
  • Which of the following terms means the computer operating system automatically detects and installs the proper driver for a new
    9·1 answer
  • Which of the following is not a strategy to help build empathy for your users?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!