Object-Oriented Programming
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Defining Classes

Go down

Defining Classes Empty Defining Classes

Post by Admin 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.







Admin
Admin
Admin

Posts : 3
Join date : 2018-08-13

https://maamlara.forumotion.com

Back to top Go down

Back to top


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