Author Question: Virtual Private Networks are hardware or software that controls access between networks. Indicate ... (Read 609 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?

Never take aspirin without food because it is likely to irritate your stomach. Never give aspirin to children under age 12. Overdoses of aspirin have the potential to cause deafness.

Did you know?

The average older adult in the United States takes five prescription drugs per day. Half of these drugs contain a sedative. Alcohol should therefore be avoided by most senior citizens because of the dangerous interactions between alcohol and sedatives.

Did you know?

It is difficult to obtain enough calcium without consuming milk or other dairy foods.

Did you know?

Oxytocin is recommended only for pregnancies that have a medical reason for inducing labor (such as eclampsia) and is not recommended for elective procedures or for making the birthing process more convenient.

Did you know?

Illicit drug use costs the United States approximately $181 billion every year.

For a complete list of videos, visit our video library