Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A project contains a form named AnalyzeSales that allows the user to open other forms within the project, including two forms named SalesByRegion and SalesByProduct.

A project contains a form named AnalyzeSales that allows the user to open other forms within the project, including two forms named SalesByRegion and SalesByProduct. Both forms need to compute the average of the same set of sales data that is stored in a Text file.
Which approach makes future maintenance easier?
Question 14 options:
a)
Create a Public method to compute the average, keep the method in one of the two forms and call it from the other form
b)
Create a method to compute the average, and keep a copy of it in each of the two forms.
c)
Create a Public method to computes the average, keep it in a separate class and call it from the two forms.
d)
All of the above
e)
None of the above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

please dont chat 3 2 4 .

Answered: 1 week ago