Computer Science, asked by sc0281441, 6 months ago

what is the benefits of a class in a program.​

Answers

Answered by Alankritapandey
2

Answer:-

Benefit of a class is that it allows you to put your code in to reusable modules. Objects allow you to create instances of those modules. Inheritance allow you to create child modules which are only slightly different to the parent - but inherit the characteristics of it.

✨Hope this helps you please mark me as brainliest....^_^ Thank you and if you wish follow me too for answers...✨

Similar questions