ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What is an Interface? Have you ever developed an Interface.
 Question Submitted By :: Suren
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is an Interface? Have you ever developed an Interface.
Answer
# 1
It’s an abstract class with public abstract methods all of 
which must be implemented in the inherited classes. 

Explain him if you have ever developed an interface.
 
Is This Answer Correct ?    0 Yes 1 No
Suren
 
  Re: What is an Interface? Have you ever developed an Interface.
Answer
# 2
interface is reference type and contain only abstract member.
interface member can be Methods ,events, properties and indexer. but interface contain only declaration of members.
interface can't contain constant ,data field, constructor ,static members, destructors.
 
Is This Answer Correct ?    2 Yes 1 No
Kinjal
 
 
 
  Re: What is an Interface? Have you ever developed an Interface.
Answer
# 3
Interface is a MIDIOUTER between USER and MACHINE LANGUAGE
 
Is This Answer Correct ?    0 Yes 2 No
Sourabh
 
  Re: What is an Interface? Have you ever developed an Interface.
Answer
# 4
interface is a oops concept (inheritance)
its like multiple inheritance in C#.net with inheritance Key but we use Interface in VB.Net

Public Interface AnInterface //interface
  Function WhoAmI() As String
End Interface 

Public Class AClass
  Implements AnInterface 

  Public Function WhoAmI() As String Implements  AnInterface.WhoAmI
         Return "AClass"
    End Function

End Class
 
Is This Answer Correct ?    0 Yes 0 No
Arash
 
  Re: What is an Interface? Have you ever developed an Interface.
Answer
# 5
sorry i meant "its like multiple inheritance in C++ "

interface is an oops concept (inheritance)
its like multiple inheritance in C++ 
but we use Interface in .Net

Public Interface AnInterface //interface
  Function WhoAmI() As String
End Interface 

Public Class AClass
  Implements AnInterface 

  Public Function WhoAmI() As String Implements  AnInterface.WhoAmI
         Return "AClass"
    End Function

End Class
 
Is This Answer Correct ?    0 Yes 0 No
Arash
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is Assembly manifest? what all details the assembly manifest will contain.  1
Difference between assembly manifest & metadata assembly manifest Ksb3
What is a formatter? TCS1
What?s the Unix name for a Windows service equivalent?  1
Hi, Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Got Exception in "try" block. Which "catch" throws exception and Why??? Please provide the answer in detail.. Thanks for the help!!! 3i-Infotech2
What is the raise event used for? Wipro4
How .NET is able to support multiple languages?  3
Can you share processes between Windows services?  2
for the textbox if i want to allow only numbers.what ever the characters u enter it should not take.which event u used? IBM3
What security measures exist for .NET Remoting in System.Runtime.Remoting?  1
What are the new features of Framework 1.1 ?  1
can any one tel me hw to connect database connectivity of dot NET and back end as MS access?  1
What is JIT and how is works?  1
Explain manifest & metadata. Wipro3
What is a resource? Provide an example from your recent project. Wipro1
Directcast(123.34,integer) - should it throw an error? Why or why not? Wipro1
What is the difference between VB and VB.NET?  1
how to connect database connectivity in dotNET? if suppose SQL server?and also MS access?  5
syntax for binding the data from database Satyam1
When developing a Windows service for .NET, which namespace do you typically look in for required classes?  1
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com