what is class and object explain with example?

Answer Posted / karthik

Classes and objects are separate but related concepts.
Every object belongs to a class and every class contains
one or more related objects. A Class is static. The
attributes of a class don't change. An Object on the other
hand has a limited lifespan. Objects are created and
eventually destroyed. Also during that lifetime, the
attributes of the object may undergo significant change. A
class is a general concept while objects are the specific
and real instances that embody that concept

Is This Answer Correct ?    46 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

499


What's the difference between an application and a program?

556


Waht is Dot net Arcitecture

1949


What is textview control of .net mobile? : Microsoft dot net mobile

482


what is polymorphism and advantage ?

1509






How will you do windows authentication and what is the namespace?

534


what are the events for a form?

1594


what is inheritancy where u required ?

1504


Why am I getting an invalidoperationexception when I serialize an arraylist?

475


What is the .net class that allows the retrieval of a data element using a unique key?

562


What is gui programming? : .NET Architecture

494


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14052


readonly syntax ?

1402


what is the method while we are using adapter and dataset ?

1359


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

534