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
Digiron [165]
4 years ago
6

You are c# developer who is developing a windows application. you need to provide derived classes the ability to share common fu

nctionality with base classes but still define their own unique behavior. which object-oriented programming concept should you use to accomplish this functionality?
Computers and Technology
1 answer:
ludmilkaskok [199]4 years ago
4 0
Polymorphism; the concept of one definition, but multiple implementations.
In C#, this is done using the 'abstract' and 'override' keywords.
Example:

abstract class Shape {
    public abstract double area();
}

class Square : Shape {
    private double size;

    public Square(double size = 0) {
        this.size = size;
    }

    public override double area() {
        return size * size;
    }
}
You might be interested in
When charlie attaches a file to an email message, the computer's __________ is responsible for managing his access to the locati
gulaghasi [49]

Answer:Operating system

Explanation:

5 0
2 years ago
Solve using the standard algorithm 758 x 92
Ludmilka [50]

Answer:

69736

Explanation:

      758

      <u>x92</u>

     1516

+ <u>6822   </u>

  69736

6 0
3 years ago
______ devices are high-performance storage servers that are individually connected to a network to provide storage for the comp
natali 33 [55]
NAS - network attached storage
3 0
4 years ago
Who initially developed what is now known as the internet?
Lyrx [107]

in 1990, when computer scientist Tim Berners-Lee invented the World Wide Web.

5 0
3 years ago
What were the results of Dr.bjork's experiment
Mademuasel [1]

Answer:

Studying in different rooms seemed to improve a persons memory

8 0
2 years ago
Other questions:
  • Universal Containers has a bundle with many features. In one of these features, Feature A, all product options share the same Di
    5·1 answer
  • A typical setup for a ____ network would include computer users sharing a single internet connection.
    15·1 answer
  • the part of the computer that provides access to the internet is the A.modem B. keyboard C. monitor or D.system unit
    7·2 answers
  • I'm looking for the best free chat website to Answer computer and statistic question and answers
    10·2 answers
  • Why did artists use pinhole cameras during the renaissance?
    9·1 answer
  • Fill in the blanks : To store 3 character a computer occupies...................bytes memory space​
    8·2 answers
  • Where the heck is the leader board?
    5·1 answer
  • This Is My Humor 0w0
    10·1 answer
  • PLZZZZ HELP!!!
    12·2 answers
  • An array name is a pointer constant because the address stored in it cannot be changed during runtime.
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!