O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3

Answers to Chapter 3 Review Questions

1: How does abstraction help the programmer to cope with complexity?
A1: Abstraction allows programmers to simplify the problem domain they are attempting to turn into a computer program and allows them to focus only on its relevant parts.
2: Is the idea behind encapsulation confined to software design? Give an example from everyday life.
A2: No, the idea behind encapsulation is not confined to software design. Example: Even though a car engine can be adjusted in numerous ways, the driver can only regulate it in a few simple areas; the rest are encapsulated from the driver and are either preset from the factory or controlled by on-board computers. If the driver could make all possible adjustments, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required