C#.NET INTERVIEW QUESTION & ANSWERS
DOT Net
TAGS
61. | What is the difference between serialization and deserialization? |
---|---|
Serialization is the process of converting an object into a stream of bytes. De-serialization is the opposite process of creating an object from a stream of bytes. |
62. | What is the use of Overrides and Overridable keywords? |
---|---|
Overridable is used in parent class to indicate that a method can be overridden. Overrides is used in the child to indicate that you are overriding method. |
63. | What is the difference between an interface and abstract class? |
---|---|
In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes. |
64. | What is object-oriented programming? |
---|---|
Object-oriented programming (OOP) is a technique to develop logical modules, such as classes, that contain properties, methods, fields, and events. An object is created in the program to represent a class. Therefore, an object encapsulates all the features, such as data and behavior, that are associated to a class. |
Posted by Aswarthamma reddy. (Jun 19, 2014) | |
Object-oriented programming (OOP) is a technique to develop logical modules, such as classes, that contain properties, methods, fields, and events. An object is created in the program to represent a class. Therefore, an object encapsulates all the features, such as data and behavior, that are associated to a class. |
65. | What is an object? |
---|---|
Objects are members of a class.[or] Instance of a class. |