1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tatuchka [14]
3 years ago
8

A class can inherit behavior from a parent but also define its own and override parent behavior. This is called:

Computers and Technology
1 answer:
masha68 [24]3 years ago
3 0

Answer:

Method overriding.

Explanation:

In object-oriented programming (OOP) language, an object class represents the superclass of every other classes when using a programming language such as Java. The superclass is more or less like a general class in an inheritance hierarchy. Thus, a subclass can inherit the variables or methods of the superclass.

Basically, all instance variables that have been used or declared in any superclass would be present in its subclass object.

A class can inherit behavior from a parent but also define its own and override parent behavior. This is called method overriding.

Method overriding occurs when there are two (2) methods with the same method parameter and name. The parent class handles one of the methods while the other is in the child class.

Hence, method overriding allows a child class to define its own specific implementation of a method and override parent behavior.

You might be interested in
Over the last decade, the overall energy consumption of cloud data centers worldwide has remained relatively the same. Why is th
s2008m [1.1K]

Over the last decade, the overall energy consumption of cloud data centers worldwide has remained relatively the same because the technology supporting cloud data centers has become much more energy efficient.

<h3>Why has the energy consumption of cloud data centers remained the same?</h3>

The reason is that servers are said to be six times as heavy as data in terms of energy consumption is one that is seen to be due to improved hardware efficiency.

In regards to cloud, the machines are said to be  running by giving web services and other machines  room to consumes some level or amount of energy that can be used for working.

Hence, Over the last decade, the overall energy consumption of cloud data centers worldwide has remained relatively the same because the technology supporting cloud data centers has become much more energy efficient.

Learn more about cloud data centers from

brainly.com/question/13440433

#SPJ1

See full question below

Over the last decade, the overall energy consumption of cloud data centers worldwide has remained relatively the same. Why is this so? The technology supporting cloud data centers has become much more energy efficient. There is significantly less customer demand for cloud computing than a decade ago. Cloud providers have placed limits on the amount of data stored at each center. Cloud data centers operate with less computing power than they did in the past.

8 0
2 years ago
_____ refer(s) to computer programs that provide instructions for a computer to execute a desired task. Answer .a.Software .b. I
Dmitriy789 [7]
Software, which contains coded information that is almost like instructions for your computer.
8 0
3 years ago
A derived class is a class that inherits data members and functions from a ____ class.
mezya [45]
The answer is superclass
6 0
3 years ago
Which activity is performed during high-level design in the V-model?
SVETLANKA909090 [29]

Answer:

understanding component interaction

4 0
3 years ago
Where is the thesis statement usually located in research paper?
Ugo [173]
The thesis statement is typically located in the last sentence of the first paragraph of a research paper.
7 0
3 years ago
Other questions:
  • Write a program totake a depth (in kilometers) inside the earth as input data;compute
    15·1 answer
  • Technician A says that the last step in the diagnostic process is to verify the problem. Technician B says that the second step
    12·1 answer
  • WILL GIVE BRAINLIEST! I'm doing a project at school. Does anyone have any good explanations for Digital Art? I need it to be at
    13·2 answers
  • Shortcuts will help you complete spreadsheet tasks more efficiently.
    12·1 answer
  • Suppose arraylist list1 is [1, 2, 5] and arraylist list2 is [2, 3, 6]. after list1.addall(list2), list1 is __________.
    8·1 answer
  • Which segment of society introduced the grunge look?
    5·2 answers
  • A relative path name defines a path from_________________________ Select one: a. from the UFD (user file directory) b. the curre
    6·1 answer
  • Write a program that reads a person's first and last names, separated by a space. Then the program outputs last name, comma, fir
    9·1 answer
  • Which of the following is not hardware? wireless network router X-box 360 game controller virus scanner flat-panel monitor
    5·2 answers
  • How do you make a minecraft server. just the basics please. I only need ine for me and my friends.
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!