Defining Classes

Go down

Defining Classes

Post by Admin on Mon Aug 13, 2018 6:46 pm

Defining Classes

A class is a category of things; an object is a specific instance of a class. A class definition is a set of
program statements that lists the characteristics of each object and the methods each object can use.

A class definition can contain three parts:

- Every class has a name.
- Most classes contain data, although this is not required.
- Most classes contain methods, although this is not required.


Posts : 3
Join date : 2018-08-13

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum