One way your program uses object-oriented programming is through polymorphism.

What is one way polymorphism is implemented?

repurposing an operation
created a new class using an existing class
hiding class variables from the programs using instances of the class
changing a variable from a string to a float

Answers

Answer 1

The way polymorphism is implemented is repurposing an operation. Option A

What is polymorphism?

Polymorphism in object-oriented programming allows objects of different classes to be used interchangeably, while performing the same action or operation.

One way polymorphism can be implemented is through the creation of a new class that inherits from an existing class and overrides one or more of its methods to provide a different implementation.

This is known as method overriding. By doing so, objects of the new class can be used in place of objects of the original class, but with the overridden behavior.

This enables more flexibility and extensibility in software design, making it easier to add new features or functionality without modifying existing code.

Read more about polymorphism at: https://brainly.com/question/14201762

#SPJ1


Related Questions

Coding help, if you give my the correct answer I'll give brainliest, plus 30 points...

Which of the following statements would access the fourth item in a list named flavors?

A. flavors(3)
B. flavors[4]
C. flavors[3]
D. flavors(4)

Answers

Answer:

Flavors [4]..............

A shorthand method consists of a symbol of the element surrounded by dots?.​

Answers

Answer:

Since it is falling freely, the only force on it is its weight, w. w = m ⋅ g = 1000kg ⋅ 9.8m s2 = 9800N To draw a Free Body Diagram, draw an elevator cage (I am sure you would get lots of points for drawing it with intricate detail) with a downward force of 9800 N. I hope this helps,

Explanation:

Given the 8-bit binary code 10011011, what is the equivalent decimal value?
101
155
256
83
634

Answers

Answer:

The binary number 10011011 is equivalent to the the decimal number 155.

Explanation:

You can solve this by looking at each bit as a multiple of a power of two, starting at 2⁷ and descending:

10011011 ≡ 1 × 2⁷ + 0 × 2⁶ + 0 × 2⁵ + 1 × 2⁴ + 1 × 2³ + 0 × 2² + 1 × 2¹ + 1 × 2⁰

= 128 + 16 + 8 + 2 + 1

= 155

The main reason for formatting message style and theme is that it can be useful for making your message

more entertaining to the reader.
easier to send and receive.
professional in appearance.
top priority for the reader.

Answers

Answer:

The answer is C

Explanation:

CCCCC

Answer:

C

Explanation:

Answered myself.

Which numbers are perfect squares? Check all that apply.
1
2
16
18
32
44
94
100

Answers

Answer:

16 , 100

Explanation:

4² = 16

10² = 100

hope this helps

Answer:

1, 16 and 100 are the only perfect squares listed there.

Explanation:

The first ten perfect squares are

1, 4, 9, 16, 25, 36, 49, 64, 81 and 100

Three of those match the ones listed.

What does search engine optimization (SEO) do?
A.
helps in tracking changes in progress
B.
tries to improve the ranking in user searches
C.
tries setting quality benchmarks
D.
makes navigation easier for the visitor

Answers

Answer:

B. tries to improve the ranking in user searches

Explanation:

Search engine optimization (SEO) can be defined as a strategic process which typically involves improving and maximizing the quantity and quality of the number of visitors (website traffics) to a particular website by making it appear topmost among the list of results from a search engine such as Goo-gle, Bing, Yah-oo etc.

This ultimately implies that, search engine optimization (SEO) helps individuals and business firms to maximize the amount of traffic generated by their website i.e strategically placing their website at the top of the results returned by a search engine through the use of algorithms, keywords and phrases, hierarchy, website updates etc.

Hence, search engine optimization (SEO) tries to improve the ranking in user searches by simply increasing the probability (chances) of a specific website emerging at the top of a web search.

What is the result of adding 1234.5674 and
45.67843 if you round to the nearest thousandth BEFORE the addition?

A. 1280.24543

B. 1280.246

C. 1280.245

D. 1280.24

Answers

Answer:

C. 1280.245

Explanation:

1234.567 + 45.678 = 1280.245

Alpha Technologies, a newly established company, wants to share information about its work with people all over the world. Which type of server should this company use to upload their information?

Answers

This answer from the pro IdowShadow

Option A, Web Server, because it is a type of HTTP server used to direct web pages and blogs, as a method of transmitting information through a web platform for personal or business use, to publicize a business or an organization.

Explain the four misconceptions about entrepreneurship.

Answers

Answer:

that is the answer

Explanation:

ok its about succes you business

Exercise 7.2.6: If You're Not First, You're Last
Write the function called end_of_word that takes a string and returns everything but the first character.

end_of_word ("boat")
="oat"
end_of_word ("mice")
="ice"​

Answers

Answer:

end_of_word ("boat")

="oat"

end_of_word ("mice")

="ice"​

Explanation:you need to call out your function in the best way possible

Answer:

def end_of_word(word):

   return word[1:]

print(end_of_word("something"))

Explanation:

Your welcome :D

What caused accident? into passive voice​

Answers

Accident was caused by what

A ____ can be used to enter, display, or edit data

Answers

Answer:

Database

Explanation:

Some people think of computer programming as a male-dominated field. But the first algorithm to be executed by a computer was created by Ada Lovelace and the first compiler (which is a tool for converting one programming language into another) was created by Grace Hopper. What do you think could be done to encourage more women to study computer science?

Answers

Answer:

Various campaigns and awareness program can be launched to encourage women to study computers.

Explanation:

Ada Lovelace was a great mathematician and is famous for computing. She was very fond of mathematics. She did some exceptional work on various computer concepts. Thus she is considered as the first computer programmer. While Grace Hopper was a well known computer compiler and a computer scientist.

So it is clear from above that computer programming or studying about computers is not a male dominating thing. Women have done exceptionally good in this field.

Women should be encouraged more about studying and learning computers and programming languages. Various campaigns can be launched to spread the awareness. It should brought to public notice that studying computers does not require extra skills or knowledge and everybody can study and excel in them.

Free study programs or classes can be organised for the girls and women to learn about computers and different programming languages so that more and more women can come enroll themselves in the program and study computers.

Answer:

hi

Explanation:

five differences between email and website addresses​

Answers

Answer:

I don't know if there are that many

An email address is an address that you can send mail to online (e-mail)

A website address is an address that you can look around at and do stuff in.

An email address always has the 'at' symbol.

Website addresses and in .com, .org, .gov etc to show that it is a 'company', organization, government website etc.

Answer:

Email:

1. For communication between individuals.

2. Can be personalized.

3. Can be made by everyone easily.

URL/Website Address:

1. For organizations or mass media communications.

2. Not everyone knows how to make a website.

Which of the following is NOT considered an interactive?
A. Feedback forms
B. Text
C. Calendars
D. Social media integration

Answers

Answer: Calendar

Explanation:

Feedback forms, text and social media integration are considered to be interactive. A feedback form is used by an individual or a organization to get a feedback on a certain topic.

A text and social media integration are also interactive as well as the sender and receiver can have an interactive session through both means.

Therefore, the correct option is a calendar as this is not Interactive.

Which tool is used to create a basic web page using HTML?

HTML
Web coder
Text editor
JavaScript

Answers

Answer:

C. Text Editor

Explanation:

Answer:

Text editor

Explanation:

Write about the history of computer.​

Answers

Answer:

Charles Babbage, an English mechanical engineer and polymath, originated the concept of a programmable computer. Considered the "father of the computer", he conceptualized and invented the first mechanical computer in the early 19th century. ... The machine was about a century ahead of its time.

Explanation:

Hope it is helpful...

please HELP!!!!
Which term refers to the individual locations within a PowerPoint table?
O units
O sections
O cells
O formulas

Answers

Answer:

cells

Explanation:

Cell is a individual location in PowerPoint table.

Answer: c

Explanation:

Ask one of your parent, grandparent or elder relatives about the popular song during their time they consider their favorite. Ask them why they like the song. Afterwhich, listen to the song yourself, which wordings or lyrics in that song you find interesting and why?​

Answers

Answer:

Babooshka by Kate bush

Explanation:

My dad likes this song because it has a very nice beat

I find this sond interesting because the vocals and pitch end up sounding different than you would expect them to be. Also the range of the singer (Kate bush) is amazing

Mi laptop dice the computer restarted unexpectedly or encountered an unexpected error.Windows installation cannot procced.To install Windows,

Answers

Answer:

Explanation:

There are two reasons as to what could have happened with your laptop. The first one is that your laptop was installing a critical windows update which got corrupted when the laptop's battery died causing windows itself to become corrupted. In this case, you would need to format the hard drive and reinstall windows. The second reason could be that your hard drive is failing and not allowing Windows to load or properly be installed on it. In this second scenario you would need to buy and replace the hard drive.

HELP ASAP!!!!
Rosa needs to add a new slide layout to her presentation for the Sales users to add videos and other media in an
easier fashion. What should she do first?
Open PowerPoint options.
Create a design template.
O Access the Slide Master view.
O Design a new customized presentation

Answers

Answer:

C. Access the Slide Master view.

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation. Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

In this scenario, Rosa needs to add a new slide layout to her presentation for the Sales users to add videos and other media in an easier fashion. Hence, what she should do first is to access the Slide Master view because this is used for changing the look or making adjustments to a PowerPoint slide.

Language: JAVA
Given the following method:

public void call(int k)
{
if (k > 1)
{
call(k - 2);
call(k - 1);
System.out.print(k);
}
}

What will be the output by the command call(5);?

a) 3 4 5
b) 2 2 3 4 5
c) 2 3 2 3 4 5
d) 2 3 2 2 3 4 5
e) 2 3 2 3 2 3 4 5

Please explain this if possible--thanks in advance!

Answers

Answer:

B

Explanation:

I believe that would be the answer from the algorithm you used in the call function.

Correct me if I am wrong

Write a java program to find the perimeter of a triangle with sides measuring 10cm, 14cm and 15 cm.

Answers

Answer:

The code is shown below.

Explanation:

Consider the provide information.

We need to find the perimeter of the triangle.

The perimeter of the triangle is the sum of all sides.

So the perimeter should be: 10 cm + 14 cm + 15 cm =  39 cm

Now we will write a Java program to find the perimeter.

public class MyClass {

   public static void main(String args[]) {

     int x=10;

     int y=14;

     int z=15;

     int A=x+y+z;

     System.out.println("The perimeter of the triangle is 10 cm + 14 cm + 15 cm = " + A+" cm");

   }

}

Execute the program and you will get a result like this:

The perimeter of the triangle is 10 cm + 14 cm + 15 cm = 39 cm

Refer to the image for better understanding.

Who plays Rblx?? What do yall play?

Answers

Answer:

i play rblx

Explanation:

queenloveadriana (main acc)

AdiosLoca (alt)

Azazel_Iblis (the acc I'll use for my YT channel)

I also play Fn, CofD, Destiny, 2k, Mortal Combat, but my PS4 broke and I'm waiting to get my PS5 that I ordered        

Answer:

i do

Explanation:

Which of the following BEST describes a front-end developer?

Answers

Answer:

plz give me BRAINLIEST answer

Explanation:

Definition: Front end development manages everything that users visually see first in their browser or application. Front end developers are responsible for the look and feel of a site. ... As a front end developer you are responsible for the look, feel and ultimately design of the site.

A front-end developer is a type of software developer who specializes in creating the user interface (UI) and user experience (UX) of a website or application. They are responsible for translating design mock-ups and wireframes into functional code using programming languages such as HTML, CSS, and JavaScript.

Front-end developers work on the client-side of web development, focusing on the visual aspects and interactions that users see and experience directly. They ensure that the website or application is visually appealing, responsive, and user-friendly across different devices and browsers.

In addition to coding, front-end developers collaborate closely with designers and back-end developers to integrate the UI with the back-end systems and databases. They may also be involved in optimizing the performance and accessibility of the front-end code, as well as testing and debugging to ensure smooth functionality.

Learn more about databases on:

https://brainly.com/question/30163202

#SPJ6

what type of activities are performed with the help of the software used in hospitals?

Answers

Answer:

Xrays, Ultrasounds, managing patient records, communicating with colleagues, etc.

xrays ultrasounds lasers

Assignment 4: Evens and Odds


How do I fix this?

Answers

There's definitely something wrong with your for loop. Try this:

for x in range(n):

You might want to check if all your print statements are correct. You might be missing just a period and it will be counted wrong.

I will mark you as BRAINLIEST if you give me the correct answer of the questions... Pls asap with all details i am time limited

11. Find the number of square decimetres in a hectare.

20. Find a formula for the length of a room in terms of its breadth b metres and the perimeter of its floor, p metres​

Answers

Answer:

11. 1million square decimetres (from online)

20. assuming room is rectangular,

length= (p - 2b)/2

because perimeter= 2 length + 2 breadth for rectangular

perimeter of room will be

2×(l+b)

hope it helps you

What element of a timeline helps to mark progress of the project?
A.
milestones
B.job responsibilities
C.
external deliverables
D.
internal tasks

Answers

The correct answer is A. Milestone

Explanation:

In a timeline, events are organized according to time. This tool can be used as part of projects to organize each of the events or stages that are part of a project. Moreover, in a timeline, there are milestones or important achievements.

For example, if the project is to build a house, one of the milestones or important achievements is to complete the plane of the building. This implies each of the milestones helps to check the progress of the project. After all, if all the milestones are achieved the project will be completed.

Computer instructions are converted to binary when executed. Binary numbers use which set of digits?

A, B, C, D, E, F

0 and 1

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Answers

Answer:

Binary numbers are expressed using only the digits 1 and 0. This is also referred to as base 2 notation.

Computer instructions are converted to binary when executed. Binary numbers use 0 and 1 set of digits. The second option is correct.

What is binary number?

In digital electronics and mathematics, a binary number is defined as a number expressed in the form of base 2 numeral system.

Binary number contains only two digits i.e. 1 and 0.

Thus, 0 and 1 set of digits are used in binary numbers.

Learn more about binary number.

https://brainly.com/question/8649831

#SPJ2

Other Questions
Write the missing digits in each calculation so that the value of each sum or difference is correct. Complete the process of solving the equation.Fill in all missing terms and select all missing descriptions. Simplify any fractions.5y + 17 + 16y = 17217 + 17 = 1721y = 0y =Divide both sides by 21 Where are the major endocrine glands located?A) In the head, shoulders, knees, and toesB) In the abdomen, joints, brain, and spinal columnC) In the brain, neck, abdomen, and groinD) In the gall bladder, appendix, tonsils, and spleen GIVING BRAINLIEST HURRY Juanita y yo bajmos por_________rapidamente Calculate the absolute value of the elasticity of demand for a rise in price from $8 to $9 (which is associated with a fall in the quantity demanded from 3 to 2) Which of the following was true of railroad workers?1. Most railroad workers were paid high wages.2. Most railroad workers were limited to an eight hour workday3. Railroad workers endured harsh conditions and frequent accidents4. Immigrant railroad workers earned as much money as other workers What would be an appropriate amount of time to hold a static stretch? A. 5 seconds B. 20 seconds C. 1 minute D. 5 minutes Please proof read and let me know if my essay is cohesive and answers the following questions well!Why is the idea of playing a role or acting a part so important to Hamlet over the course of the play? How does role-playing affect several major events in the plot and the relationships between various characters? Answer: Acting within acting is an interesting component to Hamlet. Various sections within the play show Hamlet putting on antics when interacting with other characters. Throughout the play, we notice the way characters are affected by Hamlets acting. There are reasons for the strange and frightening behaviors Hamlet portrays. Oftentimes Hamlet is trying to get a specific reaction out of another character due to his antics, and sometimes Hamlet is attempting to mask his feelings and hide his actual incentives for his performances. The acting put on by Hamlet provides a way to protect his motives while adding an aspect of unknown to the play, where the audience is never sure what is acting and what is not. Right from the start, the appearance of Hamlet in Act 1, Scene 2, signifies the importance and presence of acting within the play. In that scene, Hamlet displays his emotions by being gravely aggrieved by the death of his father. Within this scene, we see Claudius and Gertrude making accusations as they perceive Hamlet to be over-reacting or pretending to be in grief. Essentially, they are accusing Hamlet of simply acting as if he is grieving. To this accusation, Hamlet responds, These indeed seem, For they are actions that a man might play; But I have that within which passeth show, These but the trappings and suits of woe (1.2.86-89). Hamlet essentially responds that his grief is far greater than he is displaying. In this case, Hamlet is not acting, but I believe this interaction may have sparked the idea of acting into his mind. After the conversation with Claudius and Gertrude, and after Hamlet sees his fathers ghost and finds out Claudius has been acting himself, Hamlet decides to act as well but with an attitude of insanity. I perchance hereafter shall think meet to put an antic disposition on (1.5.191-192). Hamlets choice to put an antic disposition on causes the question of Hamlets mental stability and whether he was truly acting out in grief or not. The relationship between Hamlet and his mother and uncle is put under pressure. Hamlets decision raises a question about Hamlets honesty throughout the rest of the play, to both Hamlets acquaintances and the audience. Everyone is unsure when Hamlet is honestly expressing his true emotions, or simply acting. His antics are found to be an attempt to mislead and protect himself, ultimately causing a feeling of uncertainty and unreliability in his relationships. One scene where I find Hamlets antics to truly work and cause further uncertainty in characters is in Scene 2. One of the first witnesses to Hamlets antic disposition is Ophelia, who communicates the frightening and strange behavior displayed by Hamlet to her father Polonius (2.1) Hamlets performance is successful since both Polonius and Ophelia perceive Hamlet to be mad. Although, Polonius links this strange behavior to Hamlets love for Ophelia. To Polonius, the recent behavior displayed by Ophelia towards Hamlet is the reason for such strange behavior or the very ecstasy of love (2.1.114). Hamlet used people important and close to him to further extend the believability of his acting. Hamlets acting is crucial in the play as different types of emotions are displayed at different times. His antic disposition act is important because it was devised to protect himself along with creating an alias that would go along with his grief-stricken shaky mental stability. The role-playing Hamlet put on greatly affected relationships in the play and created an atmosphere of distrust between all of the characters. Furthermore, witnessing the antics and false behavior thickens the plot and confuses the audience into being unsure whether the behavior is actual grief, a pretense of taking revenge from Claudius, or an action to protect himself from being murdered by Claudius. Elizabeth has a piece of ribbon that is 4.5 meters long.She wants to cut it up into pieces that are 0.25 meter long. How may pieces of ribbon will she have? im doing some math homework and i have a question its there is a propotional relationship between the number of months a person had a streaming movie subscription and the total amount of money they have paid for the subscription. The cost for 6 months is 47.94. The point (6,47.94) is shown on the graph below i need to take a picture of the graph to show you and the question is what is the constant of proportional in this relationship? can you help me its due today help Just answer this one question in a few sentences plzzzz 1) King Philip was ___options - a British king, governor, or tribal leader. 2) He led an attack against ___options - Connecticut, Massachusetts, or Pennsylvania 3) Because he wanted options - to protect his land, more freedom, or more money. Please help!! to all paladins players out there!!!!!Pidge_plays_YT is my user add meI main willo and im pretty good.don't report this please who do you main and/or want to main? Since evolution is considered a scientific theory what must be true about the concept of evolution? The ancient Egyptians built the pyramids to be usedas tombs.for crop storage.as places of worship.for government meetings. Pls help and show workings I NEED HELP ASAP!!! DUE AT 11:45 Who was the second prime minister of United States of America? What contributions were made in math and science during the Gupta empire?