Zohan uses the following analogy to describe a concept of object-oriented programming. A button can have many uses. When it is pressed, it can cause a variety of different outcomes, such as opening a door or changing the volume. But you don't need to know what the button is going to do in order to operate it-you just push it. Which concept is he most likely talking about?

a) polymorphism
b) inheritance
c) encapsulation
d) overriding

Answers

Answer 1

Answer:

Polymorphism

Explanation:

You can have a basic button class that gets inherited by other classes.

class Button {

function pushButton(){}

}

class ElevatorButton extends Button{};

class BigRedButton extends Button{};

With these new classes, they inherit from the basic button class. They can decide what happens when the method pushButton() is called.

You don't need to worry about what pushButton() actually does, you can just call it if the object is of the type "Button" and you can expect it to work.


Related Questions

If a Windows system crashes or has a corrupted OS, it can be restored to its previous state from a previously created _______________.

Answers

“Screenshot” or backup
Screenshot means a backup in this scenario, but I’d go with backup as your answer to this question

Define digital technology?

Answers

Answer:

electronic tools, systems, devices and resources that generate, store or process data.

Explanation:

Cristo has been working with a free, drag and drop style editor for a while and wants
to move beyond this to a more sophisticated style of editing software. What kind of
expanded options or features can Cristo MOST LIKELY expect with his upgraded
editing software?

A. versatility of movement, color-correction tools, tutorials

B. automatic image improvement, oil painting effect, watermark removal

C. unintentional noise, intellectual property removal. licensing

D. exclusive rights options, optical aberrations, pixilations

Answers

Answer:

c. unintentional noise, intellecetual property removal. licensing

Explanation:

the noise is too loud, its surrounding you, escape, ESCAPE HELP YOIURSELF HELP ME

لول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجليلول تصيد رجلي

The expanded options or features can Cristo MOST LIKELY expect with his upgraded editing software is C. unintentional noise, and intellectual property removal. licensing.

What are The maximum not unusual place kind of highbrow?

The belongings dispute is that of infringement. This is wherein highbrow belongings is used or appropriated with out the owner's permission via way of means of another. Infringement can observe to many classes of highbrow belongings.

Some of the maximum not unusual place violations are: Infringement of patent, trademark or copyright rights. Counterfeiting of copyrights or trademarks. Misappropriating exchange secrets.

Read more about the versatility :

https://brainly.com/question/2193795

#SPJ2

what is system software?

Answers

Answer:

It's a computer software designed to operate and control the operations of the hardware components and provide a platform for running apps

You have a small network that has only two route possibilities. You want to control the flow of traffic to a specific route. Which routing approach would be the BEST choice

Answers

The routing approach would be the best choice for the above scenario is Static routing.

What is Static routing?

This is known to be the best or ideal routing that is good in small networks where only a one or few routes can be seen or in networks where full control of routing is needed.

Note that static routing has some demerit that can make it difficult and hard to handle in large environments and as such it can only be useful in small  areas.

Learn more about network from

https://brainly.com/question/12110831

Write a function that can find the largest item in the array and returns it. The function takes the array as an input. From the main function, send initial address, type and length of the array to the function. You can use registers to send the data to the function. Also return the largest item in the array using EAX register. You can use the following array for this problem. Array DWORD 10, 34, 2, 56, 67, -1, 9, 45, 0, 11

Answers

Answer:

var newArray = array.OrderByDescending(x => x).Take(n).ToArray();

Explanation:

Write the find_index_of_largest() function (which returns the index of the largest item in an array). Eg: a = [1 3 5 2 8 0]; largest = find_index_of_largest ( a ); largest = 5; Question: Write the

There are many Deaf-owned restaurants, including the Big Mango Café, in the WHAT

Answers

There are many Deaf-owned restaurants, including the Big Mango Café, in the world today.

What is Deaf Restaurants?

These are known to be Restaurants that are known to be run by Deaf  people. It is said to be Conquering the World as a lot of more, restaurants that is more that 25 of them are been managed or served by  people who are Deaf.

Note that they often sells Food of all kinds and as such, there are many Deaf-owned restaurants, including the Big Mango Café, in the world today.

Learn more about restaurants from

https://brainly.com/question/17619957

#SJ1

A __________ constant is a name that references a value that cannot be changed while the program runs.

Answers

Answer:

Explanation:

A constant is a name that references a value that cannot be changed while the program runs

Example in Javascript:

const x = 5;

cannot be reassign x

wronged: x = 10; (will throw an error try to assign value to constant variable)

VGV Corp. releases a print ad in which readers are provided a phone number. Readers can call this number to ask queries related to the product. This type of a posttest is known as a(n) ______.

Answers

Hence, based on the actions of VGV Corp, we can see that this is a call to action.

What is a Call to Action?

This has to do with the marketing strategy that is used to get an instant response from customers and get them to buy its products.

Hence, the action of providing a number for easy reach to make queries that are related to the product by VGV Corporation is simply known as a call to action.

Read more about call to action here:

https://brainly.com/question/23142539

Name two utility programs included in an operating system:

Answers

Answer:

A file management system and a disk defragmenter

Explanation:

Areas covered in digital governance include data architecture, data ________, data modeling, data warehousing, and data security.

Answers

Answer:

quality

Explanation:

Areas covered in digital governance include data architecture, data ________, data modeling, data warehousing, and data security.

quality

What is the most common form of host-based IDS that employs signature or pattern-matching detection methods

Answers

The two primary methods of detection are signature-based and anomaly-based. Any type of IDS (HIDS or NIDS) can detect attacks based on signatures, anomalies, or both. The HIDS monitors the network traffic reaching its NIC, and the NIDS monitors the traffic on the network.

Why do you need to put your phone on airplane mode.

Answers

Pilots claim that active cell phones could interfere with their navigation equipment.

Explain what a Magnetic Resonance Imaging machine does.
If your answer is correct I will give a brainlist thingy.

Answers

Answer:

Magnetic Resonance Imaging, better known as MRI, is a machine mostly used in the medical field. It performs many tasks such as forming pictures of the anatomy of the human body and processes of the body. MRI can also scan a person's brain to figure out if there is a tumor or not.

☆anvipatel77☆

•Expert•

Brainly Community Contributor

Explain why it is important that the device registration is the last thing that is done in the initialization routine of a device driver. Likewise, explain why un-registering a device must happen first in the exit routine of a device driver.

Answers

The reason why device registration is the last thing done is that if any errors happens at the time you register device, you have to undo the registration activities and as such, it is often done last.

What is role of a device driver?

The device driver is known to be the device that gives the other part  of the operating system the needed software interface or the device class.

The reason why un-registering a device must happen first in the exit routine of a device driver is because if there is an issue, one has to settle it first before registration as one does not want error.

Conclusively, If any kind of errors is seen when a person wants to register the device, the person must undo any kind of registration that has been performed before that error occurs.

Learn more about device registration from

https://brainly.com/question/16010611

Which specific type of attack occurs when a threat actor redirects network traffic by modifying the local host file to send legitimate traffic anywhere they choose

Answers

The specific type of attack that occurs when a threat actor redirects network traffic by modifying the local host file is DNS Poisoning.

What is DNS poisoning?

DNS poisoning is known to be a type of attack where the  hacker uses a method that alters some seen vulnerabilities that are found in the domain name system (DNS).

Conclusively, The type of attack that takes place when a threat actor redirects network traffic by modifying the local host file is DNS Poisoning as it alters it and change it to what they want thereby redirecting users elsewhere.

Learn more about attack from

https://brainly.com/question/76529

#SPJ1

How to connect two monitors to a laptop with one hdmi port?.

Answers

Answer:

If you have a USB or USB-C port in your laptop, I would suggest getting a USB/USB-C to hdmi adapter to plug into your laptop and use it with one of your monitors.

Explanation:

Utilized by China's so-called "Great Firewall", what type of attack can prevent user access to web pages, or even redirect them to illegitimate web pages?

Answers

The attack that is said to Utilized by China's so-called "Great Firewall" is DNS poisoning.

What is DNS poisoning attack?

Domain Name Server (DNS) spoofing  poisoning  is known to be called  DNS cache poisoning.

This is known to be a form of an attack that is said to make changes to  DNS records and then they often used to redirect the users online traffic to a website that looks like the one that a person is intending to go to and they are often fraudulent.

Note that the attack that is said to Utilized by China's so-called "Great Firewall" is DNS poisoning as it takes one to a fraudulent site.

Learn more about web pages from

https://brainly.com/question/9060926

#SJ1

Best definition of an input device

Answers

Answer:

physical piece of hardware that connects to a primary device, such as a computer, in order to provide user input.

Explanation:

What is a small file deposited on a hard drive by a website containing information about customers and their web activities?.

Answers

Answer:

Cookies.

Explanation:

It is a small text file that a website can place on your computer's hard drive to collect information about your activities on the site or to allow the site to remember information about you and your activities.

explain four features of presentation packages​

Answers

You have add more for anyone to be able to answer this, sorry

What is the graphic artist trying to achieve in this illustration, using contrast in color?

Answers

Answer:

Image result for What is the graphic artist trying to achieve in this illustration, using contrast in color?

Having a contrast of size adds visual interest in the composition, and will help you establish the key elements in your layout so you can be sure the viewer is focusing on the right area. Contrast of size is not applicable to just text; it can also be the images in the design.

Explanation:

Answer: the answer is emphasis

Explanation:

_____ is the process of converting readable data into unreadable characters to prevent unauthorized access to the data

Answers

Answer: Encryption

Explanation:

I did computer science as my major :)

Although fun and entertainment are the primary functions of video games, they have other uses, as well. An
accidental experiment in pandemics was performed in 2005 in the virtual reality game, World of Warcraft, and
The University of Washington released an interactive game, Foldit, that allowed users to solve problems or find
solutions to various puzzles. Choose one of these scenarios and explain how the situation helped scientists
learn. What is another problem that you think could be addressed by using video games?

Answers

The problem that you think could be addressed by using video games is financial  management skills.

What problem does gaming handles?

A lot of Scientific research have seen that video games improve people's creativity and also their skill in terms of problem-solving skills.

Note that it can also help to improve financial management skills and also make people to have stable jobs and good source of income.

Learn more about video games from

https://brainly.com/question/8870121

please help I need to turn this in by 8 pm but it's not working it's almost 6

Answers

Answer:

You can re-open your browser and refresh the page. Clear your browser's cache and cookies. Turn off any plugins and extensions then reload the page. Try opening the page using another browser.




Explanation:

Have a great rest of your day
#TheWizzer

you want to search for a certain value and then return the index of that
value, which section of MakeCode Arcade's toolbox would you use?
A. Modify
O B. Operations
C. Read
D. Create

Answers

The  section of MakeCode Arcade's toolbox would you use is to Modify.

What is Microsoft MakeCode?

The Microsoft MakeCode is known to be a type of an app or tool that is  free and it is also an open source platform.

It is often used in forms engaging computer science learning experiences that aids a progression way or method into real-world programming.

Learn more about MakeCode from

https://brainly.com/question/26995556

Answer: Read

Explanation:

took the test

In binary, what would be the largest number 2^9 would allow?

Answers

Answer:

511

Explanation:

(2 ^ 9)  - 1 = 511

We first have 2 ^ 9 which is 512, but we subtract 1 becuase while it can hold 512 values, it starts at 0.

By age 10, an American child has probably worn down well over 700 crayons!
true or false

Answers

Answer: true

Explanation:

you’ve gone thru 10 years of coloring

Answer:

The answer is : True

Explanation:

Thats a lot of years of coloring. you've probably gone through more than 700 ..

Hope it helps :)

Pls mark brianleist :P

`

`

`

Tori

7.5.5: Contains a Vowel how do I do it?
# Ask the user for a string
word = input("Enter a string:")



# Check for lowercase vowels: a, e, i, o, or u and print
if "a" in word or "e" in word or "i" in word or "u" in word:



print "Contains a lowercase vowel!"


else;

print "Doesn't contain a lowercase vowel!"

Answers

The code that checks if a user input has a vowel can be done by looping the users input and check if the users input has a vowel in it.

x = input("kindly, input your string: ")

vowels = ['a', 'e', 'i', 'o', 'u']

length = 0

for i in x:

    if i in vowels:

         length += 1

if length >= 1:

    print("Contains a lowercase vowel!")

else:

    print("Doesn't contain a lowercase vowel!")

Code explanation

The code is written in python

The first line of code ask the user for an input.The vowels are stored ina variable called "vowels".The variable "length" is initialise to zero.Then, we loop through the value in the users input.If the users input contain any vowel the length is incremented by 1.Finally if the length is greater or equals to 1 we print a message "Contains a lowercase vowel"Else we print "Doesn't contain a lowercase vowel!"

learn more on python code here: https://brainly.com/question/15114317

User
Application Software
Operating System
Hardware

Assignment #1
•Explain the meaning of this graphics organizer base on what you have learned from this lesson.

• Is an "app" same in meaning with "application"? ​

Answers

This graphics organizer base talks about Software and how it is divided into two groups such as the operating systems and application software.

What are Software?

Software are said to be often shared into  two categories such as:

The operating systems The application software.

Note that the Operating systems functions by helping the hardware and produce a kind of interface between the hardware and its user while the Application software is said to be a stage of a programs that help the user to do anything meaningful just as seen in the diagram.

Conclusively, The word "app" has the in meaning with "application". It is known to be the short form of application.

Learn more about Application Software from

https://brainly.com/question/1538272

Other Questions
what were the difficulties you encountered during the process of silkscreen printing 5 Henry wants to add these numbers. 53 +81 +44 + 72 Explain how he can find the sum by breaking the numbers into tens and ones. What is the sum? what is the ICD-10-PCS code for speech treatement SatelliteMass(kg)An engineer is collecting data onfour different satellites orbitingEarth. The engineer records thesatellites' distances from Earth inkilometers (km) and their forcesdue to gravity in Newtons (N).Distance(km)4000Force due to gravity(N)1700017002.7003600031000110004100070008100Estimate the values for the twomissing quantities. Enter yourestimates into the blank boxes inthe table. 4.1. Smiling in my direction, I saw my friendsgiving me thumbs-up from their seats.A my friends gave me thumbs-up fromtheir seatsBI saw the thumbs-up of my friendsfrom their seats thumbs-up from their seats weregiven by my friendsDcorrect as is The 'Sahiwal' is a breed of which among the following in India?a. Camelb. Cattlec. Buffalod. Sheep A ball was projected into the air with an initial upward velocity of 72 feet per second. The quadratic function graphed below shows the height, h, of the ball t seconds after it was projected into the air.What is the domain of the function for this situation?Question 20 options:0t4.5000h80 All of the following are TRUE except:Non-living things cannot affect living things in an environment.Ecology examines how everything is connected.The environment contains all the materials and energy needed for living organisms to carry out their life activities.Living things and their environment affect each other. If two different net forces are applied to the same object at different times, which one will cause the object to accelerate at a greater rate the larger or smaller net force? help 100 points pls this is hard Simplify the expression 63 + 5(4-2) NEED THIS ASAP GIVING 100 PointsWhich defines the tone of a poem?the rhythm of a poem determined by the stresses in syllablesthe attitude of a speaker or author toward a poems topicthe events that occur in a poemthe overall message of a poem What is the circumference (rounded to the nearest meter) of a circular swimming pool that has a radius of 10 meters?A. 120B. 63C. 60D. 31E. 30Please help with the answer and explain it to me. Write in standard form(4.6 x 10^6) x (5 x 10^-4) Which of these properties of an iron nail is a physical property?a) does not burn when a flame is appliedb) reacts with hydrochloric acid to release hydrogen gasc) solid at room temperatured)rusts Find the surface area of a rectangular prism (like the rectangular prism below) that is 16 feet by 1.5 feet by 2 feet. Solve and get 30pts!! Cloud Services Capacity Planning. Galaxy Cloud Services operates several data centers across the United States containing servers that store and process the data on the Internet. Suppose that Galaxy Cloud Services currently has five outdated data centers: one each in Michigan, Ohio, and California and two in New York. Management is considering increasing the capacity of these data centers to keep up with increasing demand. Each data center contains servers that are dedicated to Secure data and to Super Secure data. The cost to update each data center and the resulting increase in server capacity for each type of server are as follows: Data Center Cost ($ millions) Secure Servers Super Secure Servers Michigan 2. 5 50 30 New York 1 3. 5 80 40 New York 2 3. 5 40 80 Ohio 4. 0 90 60 California 2. 0 20 30 The projected needs are for a total increase in capacity of 90 Secure servers and 90 Super Secure servers. Management wants to determine which data centers to update to meet projected needs and, at the same time, minimize the total cost of the added capacity. A. Formulate a binary integer programming model that could be used to determine the optimal solution to the capacity increase question facing management. B. Solve the model formulated in part (a) to provide a recommendation for management What role did the Spanish Civil War play in preparing forWorld War II During their time in power, the nazis killed over 100,000 people with disabilities True or false Orange blue violet yellow and green wavelengths are absorbed