Polymorphism is when ________ in a class hierarchy perform differently, depending on which object performs the call.
a. base class constructors
b. derived class constructors
c. member functions
d. derived class destructors
e. None of these

Answers

Answer 1

When base class constructors in a class hierarchy behave differently depending on which object makes the call, this is known as polymorphism.

Which phrase enables us to build new classes off of old ones?

Through the usage of public classes and interfaces, programmers can independently modify original software by building new classes on top of pre-existing ones, specifying a new implementation while preserving the same behaviors (realizing an interface).

Which class is the derived one?

A class that is created from a base class or another existing class is referred to as a derived class. It frequently takes on a base class's whole set of methods and attributes. It is sometimes referred to as a child class or subclass.

To know more about polymorphism visit:-

https://brainly.com/question/29850207

#SPJ4


Related Questions

Which of the following parts are connected to the cord in a self-operating napkin machine?

Answers

The pail parts are connected to the cord in a self-operating napkin machine. Hence, the correct answer is pail. Read below about the Self-operating Napkin.

How does a Self-Operating Napkin work?

Extra weight in pail pulls cord which opens and lights automatic cigar lighter, setting off sky-rocket, which causes sickle to cut string and allow pendulum with attached napkin to swing back and forth thereby wiping off your chin.

Therefore, the correct answer is pail as given above.

learn more about Self-Operating Napkin: https://brainly.com/question/21547964

#SPJ1

What geographic regions of the United States did President Jackson win in the 1828 election?

Answers

Answer:

he won the entire west and south

Answer:

us

Explanation:

Class Discussion for Tuesday 12/8


Compare the United States to Ancient Greece.



Find 3 things that are similar










Find 3 things that are different

Answers

Answer:

Similarities: Both governments had democracy, both nations have constitutions written by notable figures (Aristotle wrote Greeces and James Madison is credited the title of "father of the US constitution") and at the creation of each constitution only white men could vote.

Differences: The US is more like Rome than Greece because Rome and the United States have a representative democracy while Greece has a direct democracy. Another difference was that military service was required amongst boys in Ancient Greece. Another big difference was that Greek citizens weren't entitled to a public defender in court.

Explanation:

I explained.

Answer: The form of democracy in the United States and ancient Athens is very different, there are still similarities. In many state and local elections, there are ballot questions in which voters decide issues by a popular referendum. Ancient Athens decided every major civic matter this way. In letting issues be decided directly by the voters, the United States is carrying on the tradition of the Athenians. This common sense of civic engagement plays out in other ways too. Both the United States and ancient Athens had trials by jury. All citizens were and are eligible for military service. Also, any adult citizen can serve a public office if elected.

according to robert sternberg, intelligence can be divided into three major parts:

Answers

According to Robert Sternberg, intelligence can be divided into three major parts known as the Triarchic Theory of Intelligence.

These parts include analytical intelligence, which involves problem-solving and logical reasoning; creative intelligence, which focuses on generating innovative ideas and thinking outside the box; and practical intelligence, which encompasses the ability to adapt to real-life situations, understand social dynamics, and navigate everyday challenges.

By recognizing these three components, Sternberg's theory offers a broader perspective on intelligence, going beyond traditional measures and highlighting the diverse ways in which individuals can demonstrate their cognitive abilities in different contexts.

Learn more about Robert Sternberg

https://brainly.com/question/32249592

#SPJ11

caitlin collins did you ever think it is better to get a peace rather than keep funding an unwinnable war?

Answers

Answer:

Explanation:

As an AI language model, I do not have personal beliefs or opinions. However, it is a common belief that in certain situations, it may be better to pursue peace rather than continue funding an unwinnable war.

War can be costly in terms of both human lives and financial resources, and may ultimately lead to a stalemate or even defeat. In contrast, pursuing peace can lead to a resolution of the conflict that benefits all parties involved.

However, it is important to note that achieving peace is often easier said than done, and may require extensive negotiations and compromises. Additionally, there may be situations where the pursuit of peace is not feasible or would result in unacceptable compromises. Ultimately, the decision to pursue peace or continue funding a war must be based on a careful consideration of the costs and benefits of each course of action.

Know more about AI language model here:

https://brainly.com/question/26272115

#SPJ11

why inclusivness an important aspect democracy ?write your logics point​

Answers

Answer:

In a democracy, if the population or the people of the democracy participates in the formulation of the policies to allow citizens to the mainstream politics is inclusive democracy.

The classical definition of inclusive democracy expresses democracy as direct economic democracy, political democracy, and democracy for the social realm. It helps in the organization of society with economy, polity, and nature.

Please select the word from the list that best fits the definition
a form of government in which its citizens vote for its leader

Please select the word from the list that best fits the definitiona form of government in which its citizens

Answers

it is a republic




that is the correct answer because that is what The United States of America is

Answer:

A repiblic on edge2020

Explanation:

Which region contains the most of petroleum and natural gas?
Please help meeee (I’ll mark the brailest for the correct answer)

Answers

russia or the middle east

saudi arabia has one of the worlds largest oil supply
iran and quatar have one of the worlds largest natural gas supply

russia has one of the worlds largest oil supply
russia has the worlds largest natural gas supply

Should any restrictions be placed on the police when making an arrest? (Miranda v. Arizona), p. 404-406

Answers

Police arrest must have a good reason to believe you are involved in a crime before they may make an arrest.

When can the police legally make an arrest?

A police officer needs to have reasonable suspicion before making an arrest. There is "probable cause" when the police officer has knowledgeable information that would make a reasonable person assume the suspect is engaged in criminal activity.

What guidelines must the police adhere to in the UK?

Officers are required to comply all legitimate commands and follow Police Regulations unless there is a compelling reason to do otherwise. Officers are expected to aid their coworkers in the performance of their legal obligations and to resist inappropriate activity, reporting it as necessary.

To know more about police arrest visit :-

https://brainly.com/question/30917242

#SPJ1

Marcy is given her choice of two Hershey bars, one of which has been broken into four pieces, and one that is intact; Marcy chooses the broken candy bar, believing that it has more candy. According to Piaget, Marcy is having problems with what concept

Answers

Answer:

Egocentrism

Explanation:

Egocentrism involves an individual believing his/her views are the most significant and those of others are irrelevant.

Marcy is said to have been given her choice of two Hershey bars, one of which has been broken into four pieces, and one that is intact and she chooses the broken candy bar, believing that it has more candy when the bars are known to contain the same amount of contents explains egocentricity.

a relationship in which spouses consider themselves to have equal status or standing in the relationship, sharing breadwinning, housework, and childrearing roles is called:.

Answers

A relationship in which spouses consider themselves to have equal status or standing in the relationship, sharing breadwinning, housework, and childrearing roles is called an equal relationship.

An equal relationship is a relationship in which both individuals are treated fairly and are given the same privileges. In terms of gender roles, an equal relationship includes equal contributions from both parties in the relationship, such as both partners sharing housework, child-rearing duties, and other tasks that may otherwise be reserved for one gender. This concept involves mutual respect for each other's values, thoughts, and opinions, as well as being willing to compromise and work together to resolve any issues that may arise. This provides both the partner a sense of Equal status.

A healthy and happy relationship is one in which both parties feel valued and equal. Equality is the foundation of a good relationship, and it must be present in every aspect of the relationship, including communication, compromise, and decision-making. An equal relationship means having a positive relationship, a balanced relationship, and a relationship that is fair and equitable to both partners.

Learn more about "Relationships"; https://brainly.com/question/28189974

#SPJ11

How does filipino values influence your daily life?

Answers

Those values make Filipinos pleasant, hospitable, well mannered & dependable. In brief, Filipino middle values impact how they behave in any state of affairs.

Therefore, an observation of Filipino values would provide us an increased understanding approximately Filipino culture. this can assist us understand and admire the wonderful aspects of Filipino values and the way they're used to achieve the sort of intention which can be crucial for molding the Philippine society right into a rich USA.

each person in the contemporary world need to follow the Filipino values as it teaches all and sundry how to appreciate the opposite beings, elders, the way to be supportive to a pal, a benefactor, a way to undertake yourself into the belongings you aren't familiar with and those are the very vital issue within the contemporary world.

Learn more about Filipino here: https://brainly.com/question/29550715

#SPJ4

the ability to view a situation from at least two perspectives is called

Answers

The ability to view a situation from at least two perspectives is called "perspective-taking."

Perspective-taking is an important cognitive skill that involves putting oneself in someone else's shoes and understanding their thoughts, feelings, and point of view. It allows individuals to consider multiple perspectives and understand that different people may have different experiences and interpretations of the same situation. By engaging in perspective-taking, individuals can develop empathy, improve their communication and problem-solving skills, and foster better understanding and cooperation in social interactions.

You can learn more about perspective-taking at

https://brainly.com/question/30022059

#SPJ11

The ability to view a situation from at least two perspectives is called "perspective-taking.

Perspective-taking is the capability of imagining the world from someone else's point of view. A person’s capability to engage in perspective-taking could differ from person to person based on their experiences and other variables. Perspective-taking is a vital skill, especially in today’s world where the internet is full of misinformation and malpractice.

Therefore, perspective-taking helps in finding the correct and appropriate information. Content loaded refers to the entire matter provided within a given source. Content loaded must always be carefully selected to suit the context of the work in question to avoid misleading the readers.

The ability to consider a situation from different perspectives is the ability to imagine other people's viewpoints, what they think, and what is most significant to them. Perspective-taking necessitates the utilization of a cognitive skill called “theory of mind.”

The ability to view a situation from at least two perspectives is called "perspective-taking.

To know more about perspective-taking, visit:

https://brainly.com/question/4404244

#SPJ11

Write four decimals with the digit 4 in a different place in each—ones, tenths, hundredths and thousandths. Then write a statement that compares the value of the digit in the 4 in the different decimals.

Write four decimals with the digit 4 in a different place in eachones, tenths, hundredths and thousandths.

Answers

Answer:

4>0.4>0.04>0.004

How can pasture be managed for sheep and goats? Write.​

Answers

Limit grazing of lush, legume-only pastures by mixed grass-legume pastures. Feed dry forage before turning animals out onto legume-rich pastures and/or strategically graze by moving animals to new paddocks after dew has dried in the afternoon.

Hope this helps!

an african american actor gives simply astounding performances in his portrayal of malcolm x and troy maxon, the protagonist in fences, but does not receive an oscar for either of these legendary performances. he does however, win oscars for his portrayal of a criminal and an enslaved man. if these events were considered from the perspective of racism, which would be most applicable?

Answers

African American actor: Bedford served as the inspiration for the character Troy Maxson in the play Fences, and this piece gives insight into the strained relationship between Wilson and his father.

Wilson attended a Catholic school but had to switch schools twice due to intense racial abuse. After being accused of plagiarizing a term paper by a history teacher, he dropped out of public school.

He started reading works by many authors, such as Dylan Thomas, Ralph Ellison, and Langston Hughes. When he was eighteen, Wilson temporarily enlisted in the American Army before going back to his Pittsburgh neighborhood to work at various jobs and start writing poems.

win an Oscar for his portrayal of a slave and a criminal. if racism were to be applied to these circumstances.

To learn more about the African American actor, use the link below.

https://brainly.com/question/1635087

#SPJ4

Scarcity is important to economics because it:

Scarcity is important to economics because it:

Answers

Answer:

D

Explanation:

I took APUSH... I have vague memories. I remeber this question though.

A or D they are both correct

Drag the word to the description it matches.

What is the difference between climate and weather?

average rainfall


current rainfall


annual snowfall


today's snowfall

put them into either the weather or climate category.

Answers

Answer is as follows for both parts of the question.

(1) The difference between weather and climate;

Weather refers to short term atmospheric conditions, what you are experiencing currently.
Climate is the weather of a specific region averaged over a long period of time. Climate change refers to long-term changes.

(2) From the list above:
Climate would be average rainfall and annual snowfall
Weather would be current rainfall and todays snowfall.

The main difference between climate is the long term and weather is short term.

Climate included average rainfall and annual snowfall. Weather included current rainfall and today's snowfall. Thus, the option (a), (c) is the climate and (b), (d) is the weather.

What is climate?

The term “climate” describes the weather patterns over a longer period of time in a specific location. It is conceivable for differences to occur from day to day, month to month, and even year to year. The average meteorological condition that affects the atmosphere is known as the climate.

A climate is a lengthy time period. Climate, often known as climatology, has evolved during the past 30 years. Annual snowfall and average rainfall were considered climate factors.

The weather is a transient phenomenon that changes from day to day. Weather includes today's snowfall and the current rainfall, whether another name for it is meteorology.

Therefore, option (a), (c) is the climate and (b), (d) is the weather.

Learn more about on climate, here:

https://brainly.com/question/10440860

#SPJ2


Briefly explain the difference between market economies
and centrally planned economies. Be sure to include which
of the six economic goals each option prioritizes, and give
an example of each style of economy.

Answers

Answer:

In a centrally planned economy, major economic decisions are made by a central authority. Centrally planned economies stand in contrast to market economies where large numbers of individual consumers and profit-seeking private firms operate most or all of the economy. In a theoretical market economy, supply and demand through free competition should determine prices. Supply and demand also decide investment decisions, production, and distribution. The central plan sets the priorities for the production of all goods and services. That includes quotas and price controls. Its goal is to supply enough food, housing, and other basics to meet the needs of everyone in the country.

the most frequent source of a person’s day-to-day emotion is:

Answers

The most frequent source of a person's day-to-day emotion is their daily experiences and interactions with the world around them. Emotions are a response to stimuli, whether positive or negative, and these stimuli are present in our daily lives.

This includes interactions with family, friends, coworkers, and even strangers. These relationships have a significant impact on our emotional well-being, as they involve various social situations and communication that can trigger a wide range of emotions, such as happiness, sadness, anger, or frustration.
For example, someone may feel happy after receiving a compliment or accomplishing a task, or they may feel sad after experiencing a loss or failure. Additionally, our relationships and interactions with others can greatly influence our emotions. Interactions with loved ones can bring joy, while conflicts with others can cause stress and frustration. Overall, our emotions are shaped by the everyday experiences we encounter, making them a frequent and ever-present part of our lives.
Learn more about interpersonal relationships here:-brainly.com/question/30851075
#SPJ11

I need help with this question pleaseeee what is the impact of economic stimulus check on price stability?

Answers

Answer:At the end of April, Reuters reported that consumer spending soared as the stimulus payments boosted personal income by more than 21%. An economic indicator that measures consumer spending called the Personal Consumption Expenditures Price Index showed an impressive year-over-year gain of 1.8%.

I Hope It Helps!

true or false, A nomad is a person who moves from place to place to survive

Answers

Answer: True

Explanation:

A nomad is a member of a people having no permanent abode, and who travel from place to place to find fresh pasture for their livestock.

Answer:

Its false

Explanation:

A nomad is someone who moves place to place looking for pasture for their animals

Hope it helps ;)

1. What date did violence erupt outside the British Customs house on King Street? This is
also the date the Boston Massacre occurred.

Answers

March 5,1770 let me know if you need anything further

Early Georgia cities settled along the Fall Line because it is/ was a good source of and

Answers

Answer:

It is a good source of trade and hydroelectric power

Explanation: ^-^

Who was Metacomet? ......................................

Answers

Metacomet was sachem to the Wampanoag people and the second son of the sachem Massasoit. also known as King Philip.

Answer:

King PhilipExplanation:

Donald lives in Canada and is proficient in English and Canadian French. His French is good enough, in fact, that he applies and gets accepted to law school in Paris, France. Once there, however, his classmates and professors respond negatively to his Canadian French. Donald finds that he is having trouble gaining respect among his peers and instructors. What BEST explains Donald's experience?
a. Parisians French is most refined, beautiful, different type of French to learn.
b. Donald requires help translating legal terms to Canadian French.
c. Donald needs to shift his worldview to match that of Parisians.
d. Paris French is a kind of cultural capital that helps open doors to opportunity.

Answers

The best explanation for Donald's experience is  Paris French is a kind of cultural capital that helps open doors to opportunity.

What is a cultural capital?

This is a term that is used to describe the social assets that a person has. The cultural capital of a person has to do with all of the following

Their educationTheir intellectHow they speakHow they dress

Donald does not have the ability to speak the same way with these people yet due to difference in his kind of French.

Read more on cultural capital here:

https://brainly.com/question/5923187

notes on marbury v madison

Answers

Answer:

Marbury v. Madison was a U.S. Supreme Court case that established the principle of judicial review. This means that the Supreme Court has the power to declare acts of Congress unconstitutional if they violate the Constitution.

The case was brought to the court by William Marbury, who had been appointed a justice of the peace in the District of Columbia by President John Adams before Adams left office. However, the incoming Secretary of State, James Madison, refused to deliver Marbury's commission.

Marbury sued Madison, seeking a writ of mandamus, which would have compelled Madison to deliver the commission. The Supreme Court, under Chief Justice John Marshall, ruled that Marbury was entitled to the commission, but that the Judiciary Act of 1789, which had given the Court the power to issue writs of mandamus, was unconstitutional.

This decision established the principle of judicial review, which has since been used to strike down many federal and state laws that were deemed unconstitutional by the Supreme Court.

What's a claim that the author has made in the section "Farming Revolution"? eg. The author claims that. Key details to include: reasons for farming revolution differs in different parts of the world
ASAP

Answers

The author claims that the reasons for the Farming Revolution differ in different parts of the world. These variations are influenced by factors such as geographical location, resources, and cultural practices.

In the section "Farming Revolution," the author highlights that the emergence and development of agriculture were not uniform across the globe. Instead, the reasons behind the revolution were distinct in each region. Some areas experienced the shift to farming due to a scarcity of resources, prompting communities to find alternative ways to sustain their populations. In other regions, an abundance of natural resources facilitated the growth of agriculture, as people began to recognize the potential for increased food production and security.

Cultural practices also played a significant role in the development of farming in various parts of the world. In some societies, agricultural practices were integrated into their belief systems and rituals, leading to a greater emphasis on farming and its expansion. Furthermore, the exchange of knowledge and techniques between different cultures enabled the spread of farming practices and the growth of agricultural communities worldwide.

In conclusion, the Farming Revolution's driving factors varied significantly across the globe, with geographical location, resource availability, and cultural practices all contributing to the rise of agriculture in diverse regions.

Know more about Farming Revolution here:

https://brainly.com/question/30584359

#SPJ11

please help me answer these two questions they're just mulltiple choice

please help me answer these two questions they're just mulltiple choice

Answers

Answer:

1 is C, 2 is D

Explanation:

For 1, the legislative branch makes laws, the executive branch executes the laws, and the judicial branch decides whether or not they're constitutional. None of the branches are in charge of any of the others.

For 2, D is the only option that is one branch limiting the power of the others. The president, (executive branch), limits the power of congress (legislative branch) by vetoing, or not allowing, laws.

Pizarro took over this Peruvian city
in 1533

Answers

Answer:

City of Lima

Despite having paid a large ransom to spare his life, Atahuapla was killed in 1533. Pizarro then conquered Cuzco, another important Inca city, and founded the city of Lima, now the capital of Peru

Explanation:

Other Questions
protected members of a base class are like _, but they may be accessed by derived classes. darden company has cash of $30,000, accounts receivable of $40,000, inventory of $21,000, and equipment of $60,000. assuming current liabilities of $29,000, this company's working capital is: g according to the law of supply: a. a direct relationship exists between the price of a good and the amount buyers choose to buy. b. producers are willing to supply larger amounts of a good as its price increases. c. an inverse relationship exists between the price of a good and the amount buyers wish to buy. d. an inverse relationship exists between the price of a good and the amount producers supply. Match each system on the left with all words that describe the system on the right. Choices on the right can be used more than once. Which glands secrete a fluid that neutralizes acidity in the surroundings to help sperm survive? Am giving brainliest! Which holiday spirit is incorrectly paired with the country in which it is popular? eva and bruce are a young couple in good health. eva begins her new job as a dolphin trainer and is offered elective health care coverage from her company for a price less expensive than she and bruce would pay if they purchased insurance on their own. the policy provides the same coverage to all participants regardless of age or health status. every year for the next five years, they see an increase in their insurance costs. after five years, they receive a notice in the mail informing them that their insurance company has gone bankrupt. eva contacts the company to inquire the reasoning behind the company's failure. she is informed that over the past several years, healthier individuals chose to leave their insurance policy, shrinking the company's participant pool. eventually, no more healthy people remained in the pool except eva and bruce. the insurance company had no choice but to increase costs for all members. finally, they could no longer afford to operate. which term best describes what eva and bruce's insurance company has experienced? which group on the home tab holds the command for pasting text which has been copied? the discovery of a fossilized animal with teeth, a long bony tail, and feathered wings helped to establish which evolutionary sequence? stanley receives a monthly social security check from the u.s. government. this would not be counted when measuring stanleys personal income. t or f MLA manual of tyle i alway ued for the reearch in the field of Finance True Fale after combining 400 ml of a 1.0x10-10 m agno3 solution with 600 ml of a 1.0x10-10 m nacl solution a student notices the formation of a precipitate. this was expected T/F a square and a regular hexagon have sides of the same length. the perimeter of the square increased by 32 units will be equal to the perimeter of the hexagon. what is x, the length of a side of the hexagon or square? Lupia ride a taxi that charge a flat rate of $6. 75 plu $3. 20 per mile. If the taxi charge lupia $40. 03 in total for her trip, how many i her ride? identify one way in which hakusekis argument was influenced by long-standing asian cultural traditions.A.TrueB.False A _________ account is an account you use to buy investments like stocks, bonds, and mutual funds. is a way of drawing that shows space by overlapping objects, creating lighter values and using less detail in distant objects, or using lines that appear to vanish at a point on the horizon. he SMART in SMART goals stands for Specific, Measurable, Achievable, Relevant, and Time-Bound.Defining these parameters as they pertain to your goal helps ensure that your objectives are attainable within a certain time frame. This approach eliminates generalities and guesswork, sets a clear timeline, and makes it easier to track progress and identify missed milestones. which philosophy emphasized the ideas of natural selection and ""survival of the fittest""?