• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Abstract Class - 500 pts

I have a business layer dill where each class inherits a base class, the base class provides at the moment a proxy for a web service, it will also contain in the future other settings which can be used by the business layer classes, is this the best way to do it?

Or should I just create a shared class which exposes numerous methods

1 Solution
will the methods be implemented differently for each class?  If not, then one shared class for static methods seems to be the most efficient
Hello  rocky050371,
           I would suggest you to not to use the shared class as it may create a problem it is called again and again and you have to refresh it.

      The best way to do it is to have the base class insdtatntiated as said by you and use all the properties and methods inside that rather than shared one.


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now