Author Question: Virtual Private Networks are hardware or software that controls access between networks. Indicate ... (Read 458 times)

Marty

  • Hero Member
  • *****
  • Posts: 553
Virtual Private Networks are hardware or software that controls access between networks.
 
  Indicate whether the statement is true or false

Question 2

Describe the difference between concrete and abstract classes and give an example for each.
 
  What will be an ideal response?



smrtceo

  • Sr. Member
  • ****
  • Posts: 344
Answer to Question 1

FALSE

Answer to Question 2

An abstract class is one that cannot have instances, while a concrete class can. If a class has all the required attributes and operations that we expect from an object, then it is concrete. If it has only a subset, then it is abstract and we need a more specialized class. For example Art is an abstract class because we have found it to be too general to satisfactorily represent a specific work of art. Saying that somebody is interested in art does not explain enough. At best, it prompts a question: what kind of art? The answer might be music, literature, painting, theatre, etc. On the other hand, the Literature class has enough attributes to be concrete. That is, we believe it can properly represent an actual literary work.



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question


 

Did you know?

When intravenous medications are involved in adverse drug events, their harmful effects may occur more rapidly, and be more severe than errors with oral medications. This is due to the direct administration into the bloodstream.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

Urine turns bright yellow if larger than normal amounts of certain substances are consumed; one of these substances is asparagus.

Did you know?

Inotropic therapy does not have a role in the treatment of most heart failure patients. These drugs can make patients feel and function better but usually do not lengthen the predicted length of their lives.

Did you know?

If you use artificial sweeteners, such as cyclamates, your eyes may be more sensitive to light. Other factors that will make your eyes more sensitive to light include use of antibiotics, oral contraceptives, hypertension medications, diuretics, and antidiabetic medications.

For a complete list of videos, visit our video library