Education For All

Text size
  • Increase font size
  • Default font size
  • Decrease font size

Programming Methodology - Lecture 8

Get the Flash Player to view video.
Lecture 8 - Using Classes

Information Hiding, The Void Return Type, Parameter Passing Between Methods, Bad Times with Methods, Using Classes, Instance variables vs Local Variables, The RandomGenerator Program Example, The RollDice Program Example, The setSeed() Method

Mehran Sahami
Introduction to Computer Science/Programming Methodology
(Stanford University: Stanford Engineering Everywhere)
Date accessed: 2008-11-25
License: Creative Commons Attribution 3.0

Lecture Material

To view the lecture material accompanying this lecture in a new window, please click the button below. If necessary, use the vertical or horizontal scrollbar in the new window to view more of the material or you can resize the window.

To download the above lecture material use this link. (Right-click and select Save Target As or Save Link As.)

Supplementary lecture material is listed below.

1. Random number examples



Chinese (Simplified) French German Italian Japanese Korean Portuguese Russian Spanish
More educational resources: