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
Explain about metadata?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form.
What is the use of web.config?
How is the using() pattern useful? What is idisposable?
Explain how cache is used? : Dot net architecture
What are the types of memory management? : Dot net architecture
What is the difference between l1 and l2 cache? : Dot net architecture
What are the main Tools to develop .Net Application?
What is a clickonce application?
difference between Response.write,server.transfer and also which one is used when ?
Can I create my own context attributes?
Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure on hardware that converts the ascii value to binary? : .NET Architecture
Whats new features in Visual Studio 2012?
Explain about validation?
How can we perform data binding in atlas?