what is class and object explain with example?
Answer Posted / manas kumar maharana
object is a realworld entity which have some proporty and
behabiour.it is a runtime entity in oops.it is a
partitioned area of memory containg data and function to
process the data.
class is a collection of simillar type of objects.it is a
user define datatype
example:
class muna
{
memberfunction()
{
datatype:
}
};
main()
{
muna ob1;
ob1.memberfunction();
}
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Can I create my own metadata attributes?
What is Opf3
How do we do authentications using atlas?
Explain the difference between primary & secondary storage device? : .NET Architecture
How can implement drag and drop using atlas?
Explain .net mobile input controls? : Microsoft dot net mobile
any one can explain about projectarchitecture and project approach briefly
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
What is the difference between an event and a delegate?
What is code access security (cas)?
Explain how cache is used? : Dot net architecture
Can you explain scriptmanager control?
What are different types that a variable can be defined and their scopes ?
How to upload in video,mp4,in .net 4.5 ..?
How cache coherency is eliminated? : Dot net architecture