+
Introduction to Object Oriented Programming

Introduction to Object Oriented Programming

Author: Lilian Dyer
Description:

To learn some programming skills using C# and Object Oriented Design.

We are interested in having our kids write a game program in C# by the end of this course. These packets will mainly contain explanations and hopefully enough code samples to get them started.

(more)
See More
Try a College Course Free

Sophia’s self-paced online courses are a great way to save time and money as you earn credits eligible for transfer to over 2,000 colleges and universities.*

Begin Free Trial
No credit card required

25 Sophia partners guarantee credit transfer.

221 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 20 of Sophia’s online courses. More than 2,000 colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.

Tutorial

The Object Oriented Paradigm

Everything is focused on objects. What are objects?  Objects can be defined as things that are responsible for themselves. 

  • An object knows what type it is
  • An object has data that allows it to know what state it is in (data can be numbers, characters, strings or other objects)
  • An object has code that allows it to do what it is supposed to do

When looking at a problem you could find the objects by looking for the nouns; the things or people who perform an action.  The actions or verbs could later become the functions these objects should perform.