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


Please Help Members By Posting Answers For Below Questions

What does this do? Gacutil /l | find /i "corillian"

602


Define cache coherency? : Dot net architecture

566


How can I create a application?

503


What is Opf3

582


Explain the purpose of cache? : Dot net architecture

464






How do I stop a thread?

533


What is the cli? Is it the same as the clr?

504


Tell me .net mobile emulators? : Microsoft dot net mobile

541


What is ILDASM ?

656


Explain about metadata?

516


Define a virtual memory? : Dot net architecture

495


Differnce between managed code and unmanaged code ?

514


Explain Intermediate Language?

596


what is diffrent beatween localprinter and networkprinter

1354


Explain domestic architecture artifacts? : .NET Architecture

503