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
forsale [732]
2 years ago
14

which xxx allows a collection of vehicle objects to dynamically invoke drive() in plane and boat? public class vehicle { xxx

Computers and Technology
1 answer:
Komok [63]2 years ago
8 0

A method in Java which allows a collection of vehicle objects to dynamically invoke drive() in plane and boat is: d. public void drive() {...}.

<h3>What is an object class?</h3>

In object-oriented programming (OOP) language, an object class represents the superclass of every other classes when using a programming language such as Java. Also, the superclass is more or less like a general class in an inheritance hierarchy.

This ultimately implies that, a subclass can inherit the variables or methods of the superclass.

In this scenario, a method in Java which allows a collection of vehicle objects to dynamically invoke drive() in plane and boat is: d. public void drive() {...}.

Read more on object class here: brainly.com/question/14963997

#SPJ4

Complete Question:

Which XXX allows a collection of Vehicle objects to dynamically invoke drive() in Car and Boat ?

public class Vehicle {

  XXX

}

public class Plane extends Vehicle {

   Override

  public void drive() {...}

}

public class Boat extends Vehicle {

   Override

  public void drive(){...}

}

a. public void super.drive() {...}

b. public void drive(int miles) {...}

c.private void drive() {...}

d. public void drive() {...}

You might be interested in
A command is
Alona [7]

Answer:

D

Explanation:

4 0
3 years ago
HELP PLEase!!! Which option is an outcome of a project stated in quantifiable terms?
dimulka [17.4K]

Answer: C) a 10 percent increase in efficiency of sales of a particular product line over one year

The term "quantifiable" means that we can attach a number to it. Specifically, a number in which we can do math operations upon it. Something like telephone numbers or serial numbers don't really count as quantifiable entities. They are qualitative variables instead. So you have to be careful what numbers you run into. In this case, "10 percent increase in efficiency" is quantitative and fits what we're after.

A 10% increase corresponds to the multiplier 1.10; for instance, if you had sales of 40 million dollars one year, then a 10% increase is 1.10*40 = 44 million in sales. This is one example where we apply a math operation (specifically multiplication) on the value in question.

4 0
3 years ago
Top-level domain names are sometimes called _____.
Xelga [282]
Internet domain extention 
4 0
3 years ago
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. Af
Akimi4 [234]
The answer is most likely VoIP which means Voice over Internet Protocol. This is for example skype
8 0
3 years ago
Read 2 more answers
How to copy patch into the program directory?
Lady_Fox [76]
#1) How to copy patch into the program directory?
Answer: You need to locate the program directory for your application, and copy the patch file to the folder. You can use the copy and paste functions by using the right click on your mouse or using the keybord keys ctrl + c for copying and ctrl + v for pasting.
5 0
4 years ago
Other questions:
  • ​the unified modeling language (uml) represents an object as a _____ with the object name at the top, followed by the object's a
    7·1 answer
  • The destination ip address is 164.109.27.233 subnet mask of 255.255.192.0 network address is
    12·1 answer
  • When creating a password, users tend to use Select one: a. All capital letters b. Passwords that are too long c. Familiar phrase
    9·1 answer
  • How to program a concrete Damage-Plasticity material?
    5·1 answer
  • With a chart , illustrate the stage of wood processing plsss help I will mark u as brainliest plss help pls and I will follow yo
    15·1 answer
  • Write a function that receives an integer (n) argument and then computes the following based on the value of the integer: While
    13·1 answer
  • a machine needs a minimum of 100 sec to sort 1000 names by quicksort what is the approximate worst case time needed to sort 100
    13·1 answer
  • Fortnight on sat 530-10 my name is TTV BTW laggking_12
    5·1 answer
  • Which are the two places where auto sum button is available?​
    6·1 answer
  • What symbol does access use to the left of a record when it is currently being edited and is therefore locked so that other user
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!