Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the purpose of Interfaces?

Answers were Sorted based on User's Feedback



what is the purpose of Interfaces?..

Answer / chandu

Simply you can say "to achieve multiple inheritance"

Is This Answer Correct ?    11 Yes 1 No

what is the purpose of Interfaces?..

Answer / chinju

interface is used for multiple inheritance.all methods in
the interfaces must be implemented in the child class

Is This Answer Correct ?    8 Yes 1 No

what is the purpose of Interfaces?..

Answer / mohammed ameem

Interfaces are used for defining the set of members which
need to be implemented. Interfaces allows calling methods of
object which may be remotely located or instantited. Thus,
Interface act as interface between the distributed
applications. Hence the name opts

Is This Answer Correct ?    6 Yes 0 No

what is the purpose of Interfaces?..

Answer / sunil mahla

In big companies, project manager understand the client
requirement and make interfaces. These interfaces are then
distributed to the under developers.
Since interfaces are just outline of the method, so
developers must use them in there class and code them.
Developer need only concentration on coding. He need not
worry about which methods he use to achieve client requirement.

So interfaces provide only outline to the developer to get
the goal.

Is This Answer Correct ?    4 Yes 1 No

what is the purpose of Interfaces?..

Answer / pradip kr sen

Basic Purpose is to use the defined structure/Pattern of
common implementation on the child location.

For example , in a straightline interface you defined
{x1,y1} and {x2,y2} as a parameter.
So while constructing triangle class with the help of
straighline interface(through inheritance) , you need to
follow the same number of parameter defined
on 'Straighline' Interface.

Is This Answer Correct ?    4 Yes 2 No

what is the purpose of Interfaces?..

Answer / mohit jethva

1. Interface is use for follow the some coding standard
2. If we create interface then each and every devloper has
to implement all the methods.
3. For e.g. If we are creating application for Vichele then
we need to create one interface for two wheeler and one
interface for four wheeler. When any of devloper is going
to extend it then he/she has to implement every method like
Break , Gear , Liver etc....
4. Force to implement all the methods from interface.
5. Multiple inheritance.

Is This Answer Correct ?    1 Yes 0 No

what is the purpose of Interfaces?..

Answer / amit

interface is used for multiple inheritance.all methods in
the interfaces must be implemented in the child class

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Sharp Interview Questions

What is a derived class in c#?

0 Answers  


Is stringbuilder thread safe c#?

0 Answers  


What does the term immutable mean?

3 Answers   Satyam, Siebel Systems, Techno Labs,


How garbage collection deals with circular references.

0 Answers  


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

0 Answers   HCL,


What does type safe mean in c#?

0 Answers  


Give an example to show for hiding base class methods?

0 Answers  


What is the difference between finalize() and dispose() methods?

0 Answers  


I have a very important query in my mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for about an year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.

1 Answers  


Consider the following pieces of C# code: a. interface I1 {/*......*/} interface I2 {/*......*/} struct Point : I1,I2 {/* ..... */} b. struct Book{ int bookId; struct Book b; } c. using M=Mystruct; struct MyStruct{ int id; } class MyClass{ static void Main(string[] args){ M m = new M(); } } d. struct Sample{ Sample ref x; } Which of the above are correct? Choose one of the options below. a, c and d are right a only right a and c are right d only wrong None of the listed options

3 Answers  


Is IIS is required for installing the deployment of windows C#.netapplication and to run.

2 Answers  


can we throw execption from catchblock

4 Answers   Accenture,


Categories