O'Reilly logo

C# 2008 For Programmers Third Edition Deitel® Developer Series by Harvey M. Deitel, Paul J. Deitel

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 4. Introduction to Classes and Objects

 

Nothing can have value without being an object of utility.

 
 --Karl Marx
 

Your public servants serve you right.

 
 --Adlai E. Stevenson
 

Knowing how to answer one who speaks,

To reply to one who sends a message.

 
 --Amenemope
 

You’ll see something new. Two things. And I call them Thing One and Thing Two.

 
 --Dr. Theodor Seuss Geisel
<feature><title>Objectives</title>

In this chapter you’ll learn:

<objective>

What classes, objects, methods and instance variables are.

</objective>
<objective>

How to declare a class and use it to create an object.

</objective>
<objective>

How to implement a class’s behaviors as methods.

</objective>
<objective>

How to implement a class’s attributes as instance variables and properties. ...

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