A program has a class Potato , which is derived from the class Vegetable , which is derived from the class Food . This is an example of _______

Answers

Answer 1
Inheritance

If you have a potato, it has the features/characteristics of a vegetable
A potato is healthy, and it gets this from being a vegetable
A vegetable gets its features/characteristics from food
A vegetable can be eaten, just like food
We can then say that a vegetable inherits the ability to be eaten from food
And that the potato inherits this from being a vegetable
The potato class inherits from the vegetable class the healthiness, but the vegetable class doesn’t inherit healthiness from the food class

Related Questions


When you use a number such as 45 in a C# program, the number is a

a. figurative constant
c. literal variable
b. literal constant
d. figurative variable

Answers

Answer:

b it has to be if u look in and use a cauclator

in china speaking your mind on the internet can cause what problems

Answers

It is found that in china speaking your mind on the internet might get you arrested.

How does internet affect China?

In China, mobile internet access is one that restrict the freedom of speech.

Note that one cannot speak freely or post things on the internet there and as such, It is found that in china speaking your mind on the internet might get you arrested.

See options below

 A. is allowed by the government.   B. might get you arrested.   C. is protected as free speech.   D. is difficult to do in Chinese script.

Learn more about china from

https://brainly.com/question/24717901

#SPJ1

Answer:

it can get you arrested

Explanation:

got it correct for pennfoster! God bless! Hope this helps!

You've been hired to create an application. This application requires that you ask for and record the user's first name, last name, and age in years. What would you do to ensure that the data that is entered is valid

Answers

Answer:

Notification must take place at least four times during the process—upon receipt of the application, when the application is evaluated against the requirements for the job

Explanation:

Notification must take place at least four times during the process—upon receipt of the application, when the application is evaluated against the requirements for the job

You are searching for an item in an array of 40,000 unsorted items. The item is located at the last position. How many comparisons do you need to do to find it

Answers

It depends on what algorithm you’re using.
If you’re going item by item, you’ll be looking at O(n) or O(40000)
Give me a reply if you want to know more, such as if you did binary search what the Big O notation is

Cannot initialize sftp protocol. Is the host running an sftp server?.

Answers

Answer:

I believe it will resolve your issue

Explanation:

Most of the time it happened due to the password expired . So you need to make do right click on that WinSCP user's and you'll find the option Open in PUTTY, PFA.

A _________ , also known as a trapdoor, is a secret entry point into a program that allows someone who is aware of the door to gain access without going through the usual security access procedures.

Answers

The trapdoor is a method that breaches the security of the system and bypasses the authentication. The trapdoor is also called the backdoor.

What is a backdoor?

A backdoor or the trapdoor is the method of a security breach that bypasses the authentication check of the system to access the cryptographic systems through unauthorized means.

It is a secret entry point known by someone to gain entry by bypassing the security check for harming the system and is also used to test and debug programs.

Therefore, the correct blank is the backdoor.

Learn more about backdoor here:

https://brainly.com/question/14315309

#SPJ1

whats happens when you add the numbers 1 and 1 together (1+1)
11
32
2
9

Answers

Answer:

2

Explanation:

The mathematical answer would be 2. To get 11, one would simply put the 1's next to each other but there is an addition symbol. 32 is an irrational number to think of for an answer because there are no other numbers to add or multiply with the 1's to achieve 32. 9 is also irrational for the same reason.

If the following code is executed, what is the output? a = 1 b = 2. c = '3' d = (1, 2., '3') e = [4, 5., '6'] print type(b+c)

Answers

Answer:

TypeError

Explanation:

b = 2

c = '3'

- b is of type integer because it is storing an Integer.

- c is of type string, since '3' is a string.

Since they are of different types, you can't add/ concatenate them. To add them you would need to change the string ('3') to an integer to get 5. Or you would need to convert 3 into a string to get '32' or '23'.

John created a small video for an audition. He wanted to retain the quality for his client. Which compression technique will ensure that the video does not lose any information?
A. Lossless
B. Lossy
C. DCT
D. MPEG

Answers

MPEG, MPEG stands for Moving Picture Experts Group, they can retain quality and he can store it and not lose any information.

when jim needs to acces the corporate database, he sits at a terminal, which presents the user interface. the database, the transaction processing and the application programming are all resident on one seperate host computer. What type of database architecture is used at jim's company

Answers

The type of database architecture that is used at Jim's company is Centralized mainframe with terminal client.

What is mainframe computer terminal?

The mainframe model are known to be and up of centralized computers, that are placed on a secure weather controlled computer rooms.

Note that the it is made up of an End users interfaced and the Centralized mainframe with terminal client. is the type of system used in Jim's firm.

Learn more about database architecture from

https://brainly.com/question/25385643

Is a spreadsheet a good tool for writing a letter? Choose the answer: Yes or No

Answers

Answer:

No... Spreadsheets are commonly used for research, outlining, tables, and etc.

Explanation:

Screenshot provided.

What is the difference between basic auth and oauth.

Answers

Answer:

Basic auth is an authentication where username and password are sent with an HTTP request unencrypted (just base64 encoded).

OAuth is a scheme whereby you perform a login at an IAM server, which gets you a token, and then you provide the token with requests to another server.

Sean is offered a job in New York City earning $120,000 a year, and a job in Salt Lake City earning $100,000 a year. What financial factor should he consider when determining which job to accept?

Answers

Answer:

Determine the travelling expenses first.

Explanation:

Since it is in two different places, the travelling costs would be different. This would create a big difference and is a factor to consider.

The  financial factor that he considers is that he will have more spending power if he stays in this City.

What is spending power?

The consumer purchasing power is known to be the length to which a consumer can spend money.

Note that based on the above scenario, The  financial factor that he considers is that He will have more spending power if Sean stays in this City.

Learn more about  financial factor  from

https://brainly.com/question/26504247

#SPJ2

the essential idea behind digital cite zen shop is that ____.

Answers

Answer:

"Digital Citizenship is the status that all online users should own including students. With this citizenship comes freedoms and responsibilities which should be understood in their entirety. Similar to the real world citizens, online users have to follow the rules and try to make use of all its benefits safely"

Explanation:

Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object. Michelle can also write the properties of the custom object by using the _____.

Answers

Answer:

dot operator

Explanation:

Michelle has defined a custom object by creating an object literal. She wants to access the properties of the custom object.Which of the following can help Michelle to access the properties of the custom object?

Selected b. Answer:Dot operator

If html is used to specify the content of the webpage, then what do you use css for?.

Answers

Answer:

css for styling.. means for making websites looks beautiful and attractive

Explanation:

html is like skeleton which defines websites structure whereas css is like cover to the skeleon.. css is responsible for fonts, colors, position of elements, responsiveness of websites.. it makes websites looks beautiful and prettier by adding background colors, hover effects, animation, etc

Which of the following is NOT a specialized cloud mechanism? A. Automated Scaling Listener B. Load Balancer C. Multi-Device Broker D. Resource Array

Answers

Answer:

C...i think so sorry if im wrong

Explanation:

I think A…… sorry if wrong

write a recursive bool valued function containsvowel that accepts a string and returns true if the string contains a vowel

Answers

Answer:

Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. A string contains a vowel if: The first character of the string is a v…

Explanation:

A:

bool containsVowel (string s) { bool hasVowel=false; if (s.length()==0) return false; else if (s[0]=='a'|| s[0]=='e'|| s[0]=='u'|| s[0]=='o'|| s[0]=='i'|| s[0]=='A'|| s[0]=='E'|| s[0]=='U'|| s[0]=='O'|| s[0]=='

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem

Answers

Answer:

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem? The PC default gateway address is missing or incorrect. The PC has an incorrect IP address. The network cable connected to the user PC is faulty.

Explanation:

A user can print to a printer that is on the same network, but the traffic of the user cannot reach the Internet. What is a possible cause of the problem? The PC default gateway address is missing or incorrect. The PC has an incorrect IP address. The network cable connected to the user PC is faulty.

A possible cause of the problem is that the default gateway address of this personal computer (PC) is missing or incorrect.

What is a default gateway address?

A default gateway address can be defined as an internet protocol address that is designed and developed to allow a particular device to communicate with other networks and equipment, including the Internet.

In this scenario, a possible cause of the problem is that the default gateway address of this personal computer (PC) is missing or incorrect and as such must be provided or configured.

Read more on printers here: https://brainly.com/question/17100575

#SPJ2

Which wireless technology will John use to provide wide-range cellular service that focuses on indoor coverage, low cost, long battery life, high connection density, and has a low-power wide-area network

Answers

Wireless technology is the method used to communicate and transfer data without wires and cables. John will use Narrowband IoT to provide cellular services.

What is Narrowband IoT?

Narrowband Internet of things is a Low power WAN technology developed for cellular services, and devices are used to balance power consumption and spectrum efficiency in providing coverage.

Narrowband IoT gives increased coverage, has long battery life and is not expensive as other networking systems, and has low power wide region networking.

Therefore, John should use Narrowband IoT.

Learn more about wireless technology here:

https://brainly.com/question/14618006

#SPJ1

What are three ways to protect yourself from identity theft when using your smartphone or computer?.

Answers

Answer:

1. Always download the latest updates .

2. Don’t click on rogue links .

3.Secure your devices (long, complex password on your computer and phone, using Anti-virus/Anti-Malware program) .

You are using Automator, System Report, and Disk Utility as some of the tools for managing a fleet of laptops. Which operating system do these computers use

Answers

Answer:

macOS

Explanation:

Q:

You are using Automator, System Report, and Disk Utility as some of the tools for managing a fleet of laptops. Which operating system do these computers use?

A:

macOS

i need help to fill in a few blanks with this coding homework. did some, but need help on the rest. the assignment is down below





# Cody Ryan, 4/28/2022, this is coding with loops

def main():

# Initialize variables
numGuesses = 0
userGuess = -1
secretNum = 5

name = input("Hello! What is your name?")

# Fill in the missing LOOP here.
# This loop will need run until the player has guessed the secret number.

userGuess = int(input("Guess a number between 1 and 20: "))

numGuesses = numGuesses + 1

if (userGuess < secretNum):
print("You guessed " + str(userGuess) + ". Too low.")

if (userGuess > secretNum):
print("You guessed " + str(userGuess) + ". Too high.")

# Fill in missing PRINT statement here.
# Print a single message telling the player
# That he/she guessed the secret number
# What the secret number was
# How many guesses it took

main()

Answers

Answer:

def main():

# Initialize variables

numGuesses = 0

userGuess = -1

secretNum = 5

name = input("Hello! What is your name?")

while ( userGuess != secretNum):

   userGuess = int(input("Guess a number between 1 and 20: "))

   numGuesses = numGuesses + 1

   if (userGuess < secretNum):

        print("You guessed " + str(userGuess) + ". Too low.")

    if (userGuess > secretNum):

         print("You guessed " + str(userGuess) + ". Too high.")

print("You guessed " + str(userGuess) + ". The correct number is " + secretNum + " after " + numGuess + " times.")

main()

Explanation:

add a While until userGuess == secretNum than we stop

A ____________________ is based on the use of one or more resource pools, in which identical IT resources are grouped and maintained by a system that automatically ensures that they remain synchronized.

Answers

A resource pooling architecture is based on the use of one or more resource pools, in which identical IT resources are grouped and maintained by a system that automatically ensures that they remain synchronized.

A network engineer is analyzing reports from a recently performed network baseline. Which situation would depict a possible latency issue

Answers

An increase in the ping response periods (host to host time) might be depicting a possible latency issue.

What is a latency issue?

In computers, a latency issue is a problem capable of delaying digital communications in the network.

Latency issues are a subject of concern and there are several alternatives to improve this aspect of digital networks.

Latency issues are associated with the time in which data can be captured and processed in the network.

Learn more about latency issues here:

https://brainly.com/question/27013190

Fill in the blank to this question. The __________ encompasses the data that flow into the system, the data that flow out of the system, and the data stores that collect and organize the data that are maintained permanently.

Answers

Answer:

The __________ encompasses the data that flow into the system, the data that flow out of the system, and the data stores that collect and organize the data that are maintained permanently.

data flow

Explanation:

Select the correct answer.
A company has recently learned of a person trying to obtain personal information of employees illegally. According to which act will be the person punished?
A.
I-SPY
B.
CFAA
C.
Digital Millennium Act
D.
SOPA

The answer is D.

Answers

Answer:

A: I-SPY

Explanation:

The I-SPY Act criminalises the unauthorised use of phishing, spyware and other techniques of utilising the Internet to gain sensitive personal information without the consent and knowledge of any person.

Which of the following is an example of machine learning?

Answers

Answer: auto correct

Explanation: The iPhone can determine what you are going to type because of your past history.

An example of machine learning is autocorrect. The correct option is c.

What is machine learning?

Machine learning is a branch of artificial intelligence that is widely described as a machine's ability to mimic intelligent human behavior.

Autocorrect is a word processing technology that detects misspelled words and utilizes algorithms to identify the words most likely to have been intended before editing the text.

In the context of machine learning, autocorrect relies solely on Natural Language Processing (NLP). It is programmed to fix spellings and errors when inputting text, as the name implies. Auto-Correction spellchecks your keyboard dictionary as you type, automatically fixing misspelled words. Simply enter text into a text area to use it.

Therefore, the correct option is C, autocorrect.

To learn more about machine learning, refer to the link:

https://brainly.com/question/16042499

#SPJ2

What is most likely to happen to the purchasing power of money over time?
• A. It will increase.

B. It will decrease.
C. It will stay the same.

D. It will go up and down.

Answers

Answer:

The answer is B. It will decrease

Explanation:

I took the test

The purchasing power of money over time will decrease. The correct option is B.

What is purchasing power?

The worth of a currency is determined by how many goods or services one unit of that currency can be used to purchase. Inflation may cause it to deteriorate over time. This is due to the fact that you may acquire fewer items or services as a result of increased pricing.

Unevenly growing prices in an inflationary environment unavoidably lower some customers' purchasing power, and this depreciation of real income is the single biggest cost of inflation.

For both those who receive and pay fixed interest rates, inflation might over time affect their ability to make purchases.

Therefore, the correct option is B. It will decrease with inflation.

To learn more about purchasing power, visit here:

https://brainly.com/question/14892961

#SPJ2

The Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone. What reason does NOT contribute to this situation

Answers

The week security system is the reason which makes Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone.

Why Android operating system targeted more by attackers?

Android is the mobile operating system and mostly targeted by the hackers and attackers. The reasons by which it is often targeted by attackers are listed below.

Android is most famous operating system and most of the people has mobile phone bases on this system.The security level of android is week compare to Apple iOS and Windows Phone makes is easy to crack.The risk of malware and virus is more in android.

The week security system is the reason which makes Android operating system (OS) is targeted by attackers much more often than Apple iOS and Windows Phone.

Learn more about the Android OS here;

https://brainly.com/question/4121093

#SPJ1

Other Questions
Which statement is true about the streets? Select ALL that apply.A. First Street intersects with Second Street and Third Street. B. Second Street is perpendicular to Third Street. C. First Street and Third Street are parallel. D. Second Street and Third Street are parallel. E. First Street is perpendicular to Second Street and Third Street. President Trumans policy of containment was intended to Some kinetic energy is always converted into thermal energy by...a) diffusionb) frictionc) conduction More businesses and organizations, such as amazon, uber, mta, an airline industry, professional sport organizations such as mlb and nba, among others, are employing the following pricing strategy, rather than relying on the fixed pricing strategies Find the value of x if Select the grammatically correct sentence. I can't see nothing. I don't want any trouble. I don't want no pet dog. There aren't no cupcakes. If L = 3 inches, W = 2 inches, and H = 5 inches, what is the volume of the rectangular prism? Identify the series of transformation that will move figure A to the new location of figure B. Why is there a higher pressure in the afferent arteriole than the glomerulus in a healthy individual? BRAINLIEST AND 100 POINTSPick a number from 1 to 10. Use that number to verify your three expressions:2(3j + 4 + 9j) 24j + 8 2(12j + 4) They are equivalent by substituting it into each expression. Show all your work for complete credit. Identify the point of view of the author of the political cartoon concerning Deng Xiaopings legacy. fraccion de pizza que pati reparte entre 3personas lunes da 1 de 12 Answer the question in the picture! The answers are A 54 inches B 70 3/4 inches C 72 1/2 inches or D 73 1/4 inches Heyy i need help pls :( the population of rats in nyc is estimated to be 3000000 currently. the rat population is growing by 1% per month. what is the estimated population of rats in 5 years? Consider the violence against Black Americans we've seen throughout history. Do you think they are justified to use self-defense? Would you defend yourself if you were in their shoes? The main purpose of this passage is to A illustrate the eating habits of the orca whale B render a visual image of the orca hunting prey C explain what makes the orca whale an excellent hunter D present interesting facts about the worlds largest mammal What fraction of the square is shaded if the line inside divides the square into two equal parts? Evaluate the expression. 5(6+ 5 1/ 2 ) 1 4 /5. Write your answer as a fraction or as a whole or mixed number. A man climbs on to a wall that is 3 m high and gains 2268 J of potential energy. What is the mass of the man? (g=9.8 m/s^2) *