Interview Question Object Oriented Programming Concept Like Encapsulation, Overriding, Class, Abstraction,Overloading and Inheritance.
Q21. What is encapsulation?
Ans. Encapsulation is the Basic OOPs concept of binding the attributes and behaviors in a class, hiding the implementation of the class and exposing the functionality.
Encapsulation is used to hide the its data and method and only expose the data and method that is need.
Q22. What is Overloading?
Ans. When we add a new method with the same name in a same/derived class but with different number/types of parameters, the concept is called overload and this ultimately implements Polymorphism.
Q23. What is Overriding?
Ans. When we need to provide different implementation in a child class than the one provided by base class, we define the same method with same signatures in the child class and this is called overriding.
Q24. What is a Delegate?
Ans. A delegate is a strongly typed function pointer object that encapsulates a reference to a method, and so the function that needs to be invoked may be called at runtime.
Q25. Is String a Reference Type or Value Type in .NET?
Ans. String is a Reference Type object.
Q26. What is a Satellite Assembly?
Ans. Satellite assemblies contain resource files corresponding to a locale (Culture + Language) and these assemblies are used in deploying an application globally for different languages.
Q27. What are the different types of assemblies and what is their use?
Ans. Private, Public(also called shared) and Satellite Assemblies.
Q28. Are MSIL and CIL the same thing?
Ans. Yes, CIL is the new name for MSIL.
Q29. What is the base class of all web forms?
Ans. System.Web.UI.Page
Q30. How to add a client side event to a server control?
Ans. Example... BtnSubmit.Attributes.Add("onclick","javascript:fnSomeFunctionInJavascript()");
Q31. How to register a client side script from code-behind?
Ans. Use the Page.RegisterClientScriptBlock method in the server side code to register the script that may be built using a StringBuilder.
Q32. Can a single .NET DLL contain multiple classes?
Ans. Yes, a single .NET DLL may contain any number of classes within it.
Q33. What is DLL Hell?
Ans. DLL Hell is the name given to the problem of old unmanaged DLL's due to which there was a possibility of version conflict among the DLLs.
Q34. can we put a break statement in a finally block?
Ans. The finally block cannot have the break, continue, return and goto statements.
Q35. What is a CompositeControl in .NET?
Ans. CompositeControl is an abstract class in .NET that is inherited by those web controls that contain child controls within them.
Q36. Which control in asp.net is used to display data from an xml file and then displayed using XSLT?
Ans. Use the asp:XML control and set its DocumentSource property for associating an XML file, and set its TransformSource property to set the XML control's XSL file for the XSLT transformation.
Q37. Can we run ASP.NET 1.1 application and ASP.NET 2.0 application on the same computer?
Ans. Yes, though changes in the IIS in the properties for the site have to be made during deployment of each.
Q38. What are the new features in .NET 2.0?
Ans. Plenty of new controls, Generics, anonymous methods, partial classes, iterators, property visibility (separate visibility for get and set) and static classes.
Q39. Can we pop a MessageBox in a web application?
Ans. Yes, though this is done client side using an alert, prompt or confirm or by opening a new web page that looks like a messagebox.
Q40. What is managed data?
Ans. The data for which the memory management is taken care by .Net run time garbage collector, and this includes tasks for allocation de-allocation.
We have Hundreds of Latest Dot Net Interview Questions.
Dot Net Inteview Questions -I
Dot Net Inteview Questions -II
Dot Net Inteview Questions -III
Dot Net Inteview Questions -IV
Dot Net Inteview Questions -V
Welcome To Latest Dot Net Interview Questions and Answer.
In this Blog you can find all to Dot Net Interview Question and Answer. you can find Scenario based ASP.Net, VB.Net, C# and SQL Server Interview Questions and answers. Dot Net Jobs, Dot Net Books. SQL Server Books, Dot Net Based Company. Dot Net and SQL Server Training Institute.
Visual Studio.Net advanced Interview Questions, SQL Server advanced Interview Questions, Latest Interview Questions,ASP.NET, SQL Server, VB.Net, C#.Net and ADO.NET Interview Questions.Scenario Based Interview Questions. Visual Studio.Net Books and SQL Server Books. Technical Interview Questions, HR Interview Questions
In this Blog You can Find ASP.NET Web Application Projects Idea , C# Windows Application Projects Idea. VB.Net Windows Application Projects Idea, SQL Server Data Base Concept.
Visual Studio.Net advanced Interview Questions, SQL Server advanced Interview Questions, Latest Interview Questions,ASP.NET, SQL Server, VB.Net, C#.Net and ADO.NET Interview Questions.Scenario Based Interview Questions. Visual Studio.Net Books and SQL Server Books. Technical Interview Questions, HR Interview Questions
In this Blog You can Find ASP.NET Web Application Projects Idea , C# Windows Application Projects Idea. VB.Net Windows Application Projects Idea, SQL Server Data Base Concept.
Subscribe to:
Post Comments (Atom)
Resources
Dot Net Inteview Questions
Interview questions
ASP.Net
ASP.Net 2.0
Asp.Net Interview Questions
SQL Server Interview questions
.NEt 4.0 Framework
Basic .Net Framework Questions and answer
C#
Dot Net Projects
Introduction ASP.Net 2.0
Structure
.Net Remoting Interview Question and answer
3 + Years Experience Interview Questions
ACID
ADO.NET
ADO.NET Interview Questions and answer
ASP.NET Security
ASP.Net 3.5
ASP.Net 4.0
Advanced C# questions
Advanced Interview Question in Dot Net
Aggregate Functions in SQL SERVER 2008
Asp.Net Interview Questions and answer
Atomicity
CLR
Class
Common Language Runtime
Connection Pooling in ADO.NET
ConnectionString
Consistency
Delegates
Destructor
Difference Between Classes and Structs
Differnce between ASP.Net Vs ASP
Dot Net Interview Questions Book
Dot Net Project Idea
Durability
Final Year Project Idea.
HTML
Indexes in SQL Server
Interview questions for .NET Framework
Isolation
Mca Final year
Namespace
Object Oriented Programming Concept
Reference types
SQL Server
SQL Server 2008 Advantages
SQL Server Basic Databases
State Management Questions
Strong Name
Style Sheet
The Garbage Collection
The Garbage Collector in .Net
Types of Indexes
UDDI
Value types
WDSL
WEB SERVICES AND REMOTING
Web Control Class in ASP.Net 4.0
Web Service Questions
What is a static class?
XHTML
XML
XSLT
Xml Documents
improve SQL Server Performance
static member of class
My Profile
I have 4 years Experience .Net and SQL Server. I am working as software engineer in private company Bangalore. I have faced many interviews. Here I am Sharing My Interview experience (Technical, HR and Written Test). This Blog is useful for .Net Developers and Freshers. My hobbies I like to play Foot ball, to read some books, to Learn new technologies. I have Experienced in Asp.Net 2.0, C#.Net, VB.Net, SQL Server and Xml.
0 comments
Post a Comment