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
julia-pushkina [17]
3 years ago
10

The following table describes the required fields for two classes and typical values stored in those fields.

Computers and Technology
1 answer:
enot [183]3 years ago
8 0

Answer:

hope this helps,if it did pls mark my ans as brainliest

Explanation:

using System;

class Printer{ string companyName; int pagesOutput;

double price;

public Printer(string companyName,int pagesOutput,double price){

this.companyName=companyName; this.pagesOutput=pagesOutput; this.price=price;

}

public virtual void Display(){ Console.WriteLine("companyName: "+companyName+" pagesOutput: "+pagesOutput+" price: "+price);

}

}

class PrinterCumScanner:Printer{ int imageDpi;

public PrinterCumScanner(string companyName,int pagesOutput,double price,int imageDpi):base(companyName,pagesOutput,price){ this.imageDpi=imageDpi; }

public override void Display(){ base.Display(); Console.WriteLine("imageDpi: "+imageDpi);

}

}

public class Program { static void Main(string[] args) { const int NUM_PRINTERS=3;

Printer []stock=new Printer[NUM_PRINTERS];

stock[0]=new Printer("HP",40,89.50);

stock[1]=new PrinterCumScanner("HP",40,215.0,320); stock[2]=new PrinterCumScanner("Cannon",30,175.0,240);

foreach(Printer aPrinter in stock){ aPrinter.Display();

}

}

}

You might be interested in
The use of computer hardware and software to analyze biological data, such as dna sequence comparison data, is known as ________
Natali [406]
I believe this is called bioinformatics, using computers to quickly compute or search various databases for info. 
4 0
3 years ago
During the _____ of the systems development life cycle (SDLC), an information system is operating, enhancements and modification
Neporo4naja [7]

Answer:

Maintenance Phase

Explanation:

One of the concepts employed in project management for describing stages involved when carrying out an information system development project is the systems development life cycle (SLDC). The cycle which starts from carrying out a feasibility study and ends in maintenance is a highly used conceptual model. There are 5 major stages or phase and they are the; Requirement Phase, Design Phase; Implementation Phase, Test Phase, and the Maintenance phase. The maintenance phase comes when testing has been complete and all enhancement and modifications have already been developed, and the system is operating.

5 0
3 years ago
Windows apps are also known as
miv72 [106K]

Windows applications

8 0
3 years ago
Read 2 more answers
Q. 2. What will be the output of the following code?<br> //printf("Hello\n");<br> printf("Girls");
loris [4]

Answer:

Just two outputs \n a line break so:

Hello

Girls

4 0
3 years ago
Hi<br> How do I mark someone as brainliest
alexdok [17]

Answer:

whenever they answer a question it should say at the top right give brainliest

Explanation:

4 0
3 years ago
Read 2 more answers
Other questions:
  • The mass of a textbook is about 1.25 kilograms. Aproximately, how many ounces is this?
    10·1 answer
  • Fractures in Earth’s crust where displacement has occurred are called
    13·1 answer
  • Write a program that inputs the following information from the user, using the Win32 Read-Console function: first name, last nam
    14·1 answer
  • Simone frequently downloads mobile apps from Amazon Appstore. What operating system does she have on her smartphone?
    6·1 answer
  • What is the value of the variable answer after the following code is executed?
    10·1 answer
  • What is the default return type of a method in Java language?
    9·2 answers
  • What specific job usually includes the important pre-production step of making the
    12·1 answer
  • Write an interactive program to calculate the volume and surface area of a three-dimensional object
    6·1 answer
  • Another word for asking a question of your data is to _____ it.
    6·1 answer
  • If you want to load the "my-data.csv" file to Dataframe so that you can explore find out the number of data items in the data se
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!