Totel:147 Click:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
ASP.NET Interview Questions And Answers
Page 1
Questions 1 What does the keyword virtual declare for a method?
Answer
The method or property can be overridden.
Questions 2 Tell me implicit name of the parameter that gets passed into the set property
of a class?
Answer
The data type of the value parameter is defined by whatever data type the property is declared as.
Questions 3 What is the difference between an interface and abstract class ?
Answer
1. In an interface class, all methods are abstract and there is no implementation. In an abstract class some methods can be concrete.
2. In an interface class, no accessibility modifiers are allowed. An abstract class may have accessibility modifiers.
Questions 4 How to Specify the accessibility modifier for methods inside the interface?
Answer
They all must be public, and are therefore public by default.
Questions 5 Define interface class ?
Answer
Interfaces, like classes, define a set of properties, methods, and events. But unlike classes, interfaces do not provide implementation. They are implemented by classes, and defined as separate entities from classes.
Goto Page:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
ASP.NET Objective Questions And Answers
ASP.NET Objective Questions And Answers
ASP.NET Interview Questions And Answers
ASP.NET Subjective Questions And Answers
R4R,ASP.NET Objective, ASP.NET Subjective, ASP.NET Interview Questions And Answers,ASP.NET,ASP.NET Interview,ASP.NET Questions ,ASP.NET Answers