Do you need to implement a class in order for an object to access the class's functions/methods?
When should you implement a class? When shouldn't you?
Pyler
0
Junior Poster in Training
Recommended Answers
Jump to PostClasses are derived datatypes.
…
When you want to create your own datatype, with its own methods/functions for working with it, then one should implement classes.
Example : Suppose you are given a code to create a student dataype and record there information, this is a basic code while implementing class.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.