5. Your First Object - Oriented C Program

   


Chapter 5. YOUR FIRST OBJECT-ORIENTED C# PROGRAM

You will learn about the following in this chapter:

  • The atomic elements of a C# source program

  • The conventional styles used for naming classes, methods, and variables

  • Operators, operands, and expressions (introductory)

  • How to write and instantiate your own custom-made classes

  • How the theoretical OO discussion about Elevators and Person classes in Chapter 3, "A Guided Tour Through C#: Part I," can be implemented to form a fully working C# program

  • What a simple object-oriented program looks like and its important elements

  • How to initialize the instance variables of your newly created objects

  • The ability of objects to contain instance variables that contain other objects

  • How programmers implement relationships between classes to let them collaborate and form object-oriented programs

  • The Unified Modeling Language (UML) and how it can be used to graphically illustrate and model relationships among classes

  • Three common types of relationships among classes called association, aggregation, and composition


   


C# Primer Plus
C Primer Plus (5th Edition)
ISBN: 0672326965
EAN: 2147483647
Year: 2000
Pages: 286
Authors: Stephen Prata

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net