adspace


Please explain what is the difference between a class and an object?

Answer Posted / Yogesh Kumar Kardam

A class is a blueprint for creating objects. It defines a set of properties and methods that specify the behavior of the objects created from it. An object, on the other hand, is an instance of a class - a specific member with its own state and identity, created when memory is allocated according to the class's blueprint.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141