give me some information about classes

Recommended Answers

They define objects. Give me a more specific question and I might give you a more specific answer.

Jump to Post

All 4 Replies

They define objects. Give me a more specific question and I might give you a more specific answer.

Classes divide your work in small chunks. For example you want to write a management for a university system, so in university there are teachers, students, staff.So you make a Teacher class that accept teacher data and another class should be student class that accept student data and so on...... :)

Consider classes as representations of "things", such as animals, boats, people, etc. Each class will consist of member variables that determine the uniqueness of that object, such as for people that may be name, address, age, etc. as well as methods to set/get the values of those variables such as setName/getName, setAge/getAge, etc. This allows us to view and manipulate our digital world in a rational manner.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.