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
I am Lyosha [343]
3 years ago
8

Implement the Tollable interface. It provides one method, pay, that accepts an int (how many dollars to pay), and returns an int

(how much is paid).
Computers and Technology
1 answer:
AVprozaik [17]3 years ago
8 0

Answer:

Answered below.

Explanation:

\**This is written in the Kotlin programming language.**/

interface Tollable{

fun pay(payInDollars: Int) : Int

}

\**Interfaces are used to declare properties and methods that are common to different classes. As a result different classes can extend one interface.

The properties and methods in an interface are not always initialized. Classes extending from the interface are responsible for initializing these properties and methods. In Kotlin, a class can extend from more than one interface.**/

You might be interested in
Give a recursive version of the algorithm Insertion-Sort (refer to page 18 in the textbook) that works as follows: To sort A[1..
Inga [223]

Answer:

see explaination

Explanation:

void insertion( int e,int *x, int start, int end)

{

if (e >= x[end])

x[end+1] = e;

else if (start < end)

{

x[end+1] = x[end];

insertion(e, x, start, end-1);

}

else

{

x[end+1] = x[end];

x[end] = e;

}

}

void insertion_recurssion(int *b, int start, int end)

{

if(start < end)

{

insertion_sort_recur(b, start, end-1);

insertion(b[end], b, start, end-1);

}

}

void main()

{

insertion_recurssion(x,0,5);

}

3 0
3 years ago
Francis works in the human resources division of a large oil and gas company in Texas. Francis' tasks include maintaining payrol
KiRa [710]

Answer: Information MIS infrastructure

Explanation: Information MIS infrastructure is the company model that is used for supporting the task functioning . The main aim of this tool is to be used in backing -up , plan of diasater recovery and plan of business continuity.

These objectives are achieved by availability, portability , scalability , accessibility, maintainability etc characteristic. Francis is also involved in information MIS infrastructure by maintaining the payroll, records,history of employment  etc, securing the information,etc.

4 0
4 years ago
To include calculated fields in queries, enter a name for the calculated field, a(n) ____, and then the expression in one of the
Oliga [24]

Answer:

Colon(:) is the correct answer.

Explanation:

The colon(:) is used to contain those fields which is calculated in the queries. In other words, the colon is used to insert the name for that field which is calculated then, the user uses the colon(:) and after that, he uses the expression in the columns or the field row. So, That's why the following option is true.

3 0
3 years ago
Create a program named SalesTaxDemo that declares an array of 10 Sale objects. Prompt the user for data for each object and disp
podryga [215]
Jkisythrhajkdhahdbshehe
7 0
3 years ago
The U.S. government developed the TEMPEST program to reduce the risk of
Natasha_Volkova [10]
I believe it’s the first one.
8 0
3 years ago
Other questions:
  • How many generations of computer languages have there been since the middle of the 20th century?
    9·2 answers
  • How could a system be designed to allow a choice of operating systems from which to boot? What would the bootstrap program need
    14·1 answer
  • The expectations I would discuss with Erica regarding the usage of the internet
    6·1 answer
  • 1. Target area range is a survey of what lies about __________ seconds ahead of the vehicle. A. 5-10 B. 10-20 C. 20-30 D. 40-50
    11·2 answers
  • -The following type of Access form allows to see multiple records in an Excel-like arrangement of data fields:
    14·1 answer
  • High level language - An object oriented programming language​
    5·1 answer
  • What are the uses of DVD Ram​
    12·2 answers
  • With which feature or menu option of a word processing program can you make an image like this?
    14·2 answers
  • Who plays warzone im a roze sweat and ill try to carry with loadout
    10·1 answer
  • Types of Computer games​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!