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
Explain domestic architecture artifacts? : Dot net architecture
What do you know about machine.config file ?
what are constructors and destructors?
How do I know when my thread pool work item has completed?
Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile
Explain about validation?
Explain Singleton design pattern in .net
how to delete the record using data reader
What is different about namespace declaration when comparing that to package declaration in java?
Explain hard disk and what is its purpose? : .NET Architecture
how to make and display a form without title bar?
I can't be bothered with cas. Can I turn it off?
Explain dotnet framework ?
Explain .net mobile input controls? : Microsoft dot net mobile
Define cache coherency and how is it eliminated? : Dot net architecture