what are the Differences Object and Class?
Answers were Sorted based on User's Feedback
Answer / guest
Classes and objects are separate but related concepts.
Every object belongs to a class and every class contains
one or more related objects.1)A Class is static. All of the
attributes of a class are fixed before,during, and after
the execution of a program.
The attributes of a class don't change.The class to which
an object belongs is also (usually) static. If a particular
object belongs to a certain class at the time that it is
created then it almost certainly will still belong to that
class right up until the time that it is destroyed.
2)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.So basically the difference between a
class and an object is that a class is a general
concept while objects are the specific and real instances
that embody that concept. When creating an object oriented
program we define the classes and the relationships between
the classes . We then execute the program to create,
update, and destroy the objects which are the specific
realization of these classes.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / hema
A class is a template . An object is an instance of a class.
| Is This Answer Correct ? | 2 Yes | 0 No |
How would you Create a Query Builder and Explain its uses
Discuss the working with to-do lists.
What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.
What is the difference between a property a method and an event? Give an example of each.
I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe, Active-X Exe, Active-X Dll.
How do I dial a phone number without using the MSCOMM VBX?
Is Visual Basic case sensitive in general?
How to control the file?
Is visual basic still used?
To.set the command button for ESC ___ Property has to be changed.
How can you save and Get data from Clipboard/ Recordset object consists what?
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)