This series of videos introduces simple objects, that simply bundle data values together in a class. For example:
public class Point
{
int x;
int y;
}
In later videos, we'll look at using "smart" objects (objects that know how to perform operations, where we call a method on an object), and then we'll look at how to define our own "smart" objects.
Link to this comment:
All Comments (0)