Explain what are an object and a class?



Explain what are an object and a class?..

Answer / Satya Nand Mishra

A class is a blueprint or template that defines the properties (fields) and methods (functions) for creating objects in .NET. An object, on the other hand, is an instance of a class created by using its constructor and assigned memory at runtime. Each object has its own unique state (values of its fields).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

How to write an MMC snap-in for my Windows service?

1 Answers  


diff between forms authentication and windows authentication?

11 Answers  


How to implement CAS in .Net?

1 Answers   247Customer,


Explain what is the difference between a class and an object, and how do these terms relate to each other?

1 Answers  


Compare client server application with n-tier application

1 Answers  


What is an EXE?

1 Answers  


How to Create and Consume a Web Service?

2 Answers  


What is stored procedure ? how we use it in .NET ?

1 Answers   MCN Solutions,


What exactly is being serialized when you perform serialization in .net?

1 Answers  


How to find methods of a assembly file (not using ILDASM) Reflection

1 Answers  


Integer & struct are value types or reference types in .NET?

1 Answers  


What operating systems does the .net framework run on?

1 Answers  


Categories