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 is new in the .net 2.0 class library?

870


What is the use of web.config?

795


Explain the difference between l1 and l2 cache? : .NET Architecture

750


Explain about clr?

780


What are the types of application software?

711


readonly syntax ?

1610


How to upload in video,mp4,in .net 4.5 ..?

729


what is tracing? Where it used?

808


What are the different pipelining hazards? : Dot net architecture

793


which is the institute in hyderabad for providing the live project industry training

2533


What is textview control of .net mobile? : Microsoft dot net mobile

696


What is .net mobile lists. : Microsoft dot net mobile

667


Explain about cookie less session state? : .NET Architecture

744


What are the five stages in a dlx pipeline? : Dot net architecture

726


What is WPF and WCF?

762