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
fiasKO [112]
4 years ago
15

Public class Car {

Computers and Technology
1 answer:
juin [17]4 years ago
5 0

Answer:

The Following are the outputs:

a. vroom

b. car 1

c. car 2

d. vroom

e. truck 1

f. car 2

Explanation:

The first statement System.out.println(mycar);  prints an instance of the Car object my car which calls the toString() method.

The second statement mycar.m1();  Calls the method m1() which prints car1

The third statement mycar.m2(); calls the method m2() which prints car2

Then another class is created Truck, and Truck inherits all the methods of Car since it extends Car. Truck has a method m1() which will override the inherited method m1() from the Car class.

The fourth statement System.out.println(mytruck); will print print vroom just as the first statement since it inherits that method toString()

The fifth statement calls m1() in the Truck class hence prints Truck 1

Finally the sixth statement will print car 2 because it also inherited that method and didnt overide it.

You might be interested in
Ryan has created a Word document to be used as a review quiz for students in a classroom setting. The document contains both que
kozerog [31]

Answer:

Include the answers on an additional sheet.

3 0
3 years ago
An administrator needs to set up an authentication server for users connecting to a network through a VPN. What kind of server c
Leya [2.2K]

Answer:

RADIUS

Explanation:

The administrator needs to set up a RADIUS server for this particular example, RADIUS is a networking protocol, this protocol provides centralized Authentication, Authorization for users who connect and use a network service, this is an authentication remote service, and we can use it with the VPN  (virtual private networks).

7 0
3 years ago
suppose one packet switches between a sending host and a receiving host. the transmission rates between the sending host and the
ICE Princess25 [194]

The total end-to-end delay to send the packet length is L/R1 + L/R2. When using store-and-forward packet switches, the end-to-end delay is calculated as d = N × L/R.

<h3>How can you determine a packet's end-to-end delay?</h3>
  • When using store-and-forward packet switches, the end-to-end delay for sending a single packet of length L across N connections, each with a transmission rate R, is d = N × L/R. (Queuing, propagation delay, and processing time are all ignored).
  • The amount of time it takes a packet to travel from source to destination across a network is known as one-way delay (OWD).
  • It is a term that is commonly used in IP network monitoring. It differs from round-trip time (RTT) in that it only measures the journey from source to destination in one direction.
  • Propagation delay is the amount of time it takes for one bit to travel from the sender to the receiver end of a link.
  • Propagation delay is defined mathematically as the distance between sender and receiver. Propagation delay ∝ 1 / transmission speed.

To learn more about One-way delay, refer to:

brainly.com/question/27217941

#SPJ4

6 0
1 year ago
Learning Task 2: Identify what is being asked. Write your answers on your notebook 1. What Microsoft Office program is used for
GenaCL600 [577]

Answer:

hi how are you Good afternoon

3 0
3 years ago
Which staff member takes a set of plans and supervises their construction?
jekas [21]

Answer:

Technical director

Explanation:

Someone else's models and designs ,building, decoration, installation, service, hit, and processing supervises by the technical director.

6 0
3 years ago
Other questions:
  • Ray has to type an invoice using the QWERTY keyboard. Along with letters and numbers, he also has to insert the dollar sign. Whi
    13·1 answer
  • You have been asked to create a Community leveraging Out-of-the-box login, logout, self-registration, and error pages. Would you
    5·1 answer
  • One page of content in a PowerPoint presentation is referred to as a
    12·1 answer
  • public interface Displayable { void display(); } public class Picture implements Displayable { private int size; public void inc
    14·1 answer
  • Your computer has a single hard disk w/ a single volume used by the C:\ drive. You have previously upgraded the disk to a dynami
    6·1 answer
  • The decimal number 3 is ___ in binary the 2s column plus the 1s column.
    11·1 answer
  • Click here for a answer
    15·1 answer
  • ARGENT !!20 POINTS <br> А ________ translates commands from a computer to draw lines on paper.
    10·2 answers
  • 1.a computer can create an output based on the input of the user.
    13·1 answer
  • To stored three characters a computer occupies. Bytes memory space
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!