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
bagirrra123 [75]
2 years ago
12

Assume that the Vehicle class contains a virtual method named CalculateMaxSpeed(). Assume that both the MotorVehicle and Automob

ile classes override this method. Which class defines the method that is called when the second statement in the code that follows is executed
Computers and Technology
1 answer:
disa [49]2 years ago
3 0

The class that defines the method that is called when the second statement in the code that follows is executed is: Automobile.

<h3>Automobile class</h3>

In a situation where the statement " Automobile car = new Automobile ( )" is executed. The process called instantiation has taken place.

When instantiation occur this indicate or means that object of the automobile class has been created.

An object can tend to be created based on the definition of the class  and the created object can be used to perform or carryout tasks.

Therefore the class that defines the method is: Automobile.

Learn more about automobile class here:brainly.com/question/15697747

#SPJ1

You might be interested in
A custom information field that helps users to find a specific document is called
Vlada [557]
Database, a collection of information, basically an electronic filing system.. it helps users to <span>quickly </span><span>select and </span>find a desired pieces of data.
3 0
3 years ago
Read 2 more answers
Which of the following is NOT true about high-level programming<br> languages?
aniked [119]

Answer:

this can't be answered because you didn't show the "following" answers

8 0
3 years ago
Read 2 more answers
(1) Output a menu of automotive services and the corresponding cost of each service. (2 pts) Ex: Davy's auto shop services Oil c
Wittaler [7]

Answer:

service1_cost = 0

service2_cost = 0

print("Davy's auto shop services")

print("Oil change -- $35, Tire rotation -- $19, Car wash -- $7, Car wax -- $12")

service1 = input("Select first service: ")

service2 = input("Select second service: ")

if service1 == "Oil change":

   service1_cost = 35

elif service1 == "Tire rotation":

   service1_cost = 19

elif service1 == "Car wash":

   service1_cost = 7

elif service1 == "Car wax":

   service1_cost = 12

elif service1 == "-":

   service1 = "No service"

   service1_cost = 0

if service2 == "Oil change":

   service2_cost = 35

elif service2 == "Tire rotation":

   service2_cost = 19

elif service2 == "Car wash":

   service2_cost = 7

elif service2 == "Car wax":

   service2_cost = 12

elif service2 == "-":

   service2 = "No service"

   service2_cost = 0

print("- - -")

print("Davy's auto shop invoice")

print("Service 1: " + service1 + " costs $" + str(service1_cost))

print("Service 2: " + service2)

print("Total: $" + str(service1_cost + service2_cost))

Explanation:

- Initialize the variables for cost values

- Ask the user for the services

- Depending on the user choice, calculate the cost of each service using if else structure

- Print the chosen services, cost of each service and total cost    

3 0
3 years ago
In comparing a multi-boot environment and an environment using a type II hypervisor which offers the best performance? Which wou
ElenaW [278]

Answer / Explanation

To answer this question, let us first understand what a multi boot environment is and what an environment using a hypervisor is:

Multiple-booting can be defined or simply refers to the process of installing different multiple operating system on a single computer and also to be able to determine which of the operating systems boot per time.

While:

Hypervisor or a type 2 hypervisor can be described as a form of virtual machine in form of a software that is installed on in an existing operating system of a computer. One of the main benefit of an hypervisor is it enables easy navigation of guest on your computer without actually navigating into your original or primary operating system plus it aid in fast system recovery.

If we now refer back to the question asked in respect to which i would offer as the most convenience, i would prefer the type 2 hypervisor as convenient because i am able to run an operating system inside another operating system so navigating between two operating system would be very easy as compared to the Multi-booting where i have to always shut down an operating system to navigate between the operating system because i can only use one operating system per time.

4 0
3 years ago
Danelle wants to use a stylus on her laptop but does not have a touch screen. She needs the stylus to help her create designs fo
yarga [219]

Answer:

Correct option is

A. She can add a digitizer over the screen on her laptop

Explanation:

A digitizer is a hardware that receives analogue signal and converts is to digital signal.To use stylus on a normal laptop when can attach a digitizer to the laptop.These digitizer comes in form of Tablet (Graphics Tablet)

Graphics tablet is an external tablet like slate with a dedicated stylus for hand drawn designing and arts. Use of stylus gives more command over design features.It can read any kind of hand written data and transfer to PC.

5 0
3 years ago
Other questions:
  • In a transaction-processing system (TPS), if the TPS database can be queried and updated while the transaction is taking place,
    12·1 answer
  • ______ is the software that blocks a user from being able to access your computer.
    9·1 answer
  • You decide to begin your presentation by providing your audience an overview of networking, with an emphasis on security and why
    11·1 answer
  • With the ease of the Internet, it is not uncommon for individuals to copy skills from resume templates to make themselves look m
    9·1 answer
  • Network is a process by which several protocols evolve to form a single product.
    13·1 answer
  • The design of a blog refers to:
    8·1 answer
  • In _____, a program running on a Web server creates a Web page in response to a request for specific information from a Web clie
    7·1 answer
  • What is Roko's Basilisk?
    7·1 answer
  • Jorge is sending a message to Thomas but would like a copy sent to his external email address as well. Jorge does not want Thoma
    8·2 answers
  • What is a port?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!