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
What is .net mobile images control. Explain with an example? : Microsoft dot net mobile
What's the difference between an application and a program?
Waht is Dot net Arcitecture
What is textview control of .net mobile? : Microsoft dot net mobile
what is polymorphism and advantage ?
How will you do windows authentication and what is the namespace?
what are the events for a form?
what is inheritancy where u required ?
Why am I getting an invalidoperationexception when I serialize an arraylist?
What is the .net class that allows the retrieval of a data element using a unique key?
What is gui programming? : .NET Architecture
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.
readonly syntax ?
what is the method while we are using adapter and dataset ?
What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture