Build your professional network on facebook via our app Go to app
 
 
Posted in Community :

Tech World |

Project Management ++ |

.Net Champions

 
Activity: Question posted: 08 07 2010 11:10:09 +0000, 3 answers, 121 views, last activity 10 04 2010 17:54:32 +0000
 
 Refer 388
Share
 
 
  Rate : 
 
 

I just wanted to know the exact definition or usage or advantages of the Interfaces in designing the s/w application.

 
 Top Answer :
Rating : +1 

Hi pankaj,

If the requirement is like that something in your design changes frequently then go for interfaces instead of classes.

For example if you want to your project should support different databases . So that client can change his database in future we use interfaces contains property procedures in class file with out altering objects.



[ Delete ]
[ Edit ]
Report Abuse
by   Pratik Hazra, Project Lead, Motorola  | 08 09 2010 12:46:11 +0000
  Answered by     Krishnath Appasaheb Jadhav, Softwaare Engineer, Winfoware Technologies  | 10 04 2010 17:54:32 +0000
[ Delete ]
[ Edit ]
Not Rated

Hi Pratik,

             We can have properties file to configure and connect to different database without making necessary changes in the code. So  How come that can be the valid reason to use interface?

Thanks in advance

  Answered by     Pankaj V. Tambe, Senior Software Developer, II India  | 08 09 2010 14:18:38 +0000
[ Delete ]
[ Edit ]
Not Rated

Thanks Pratik, your answer and Example is really helpful and informative.

 
 
Viewers also viewed
Everyone has discussed a lot about demerits of working women.. Many are blaming her for ruining...
 
1388 referals 36 votes, 2244 views
There are more disadvantages vs advantages
 
114 referals 5 arguments, 137 views
I want to create 50 packages and for that i require 50folders and i don't want to create them...
 
200 referals 6 answers, 1000 views
more...  
Unanswered Questions (68)
IS ACADEMIC PERCENTAGE CRITERIA ALWAYS MANDATORY FOR EXPERIENCED SAP CONSULTANTS. HOW TO OVER...
 
1 referals 0 answers, 0 views
sir this is R.V.Srinivas Research scholar andhra University, i am doing my mphil on retail...
 
1 referals 0 answers, 0 views
                        I am writing to introduce myself to you as Varun Sivakumar, who has...
 
1 referals 0 answers, 0 views
More From Author
I really support this concept, But unfortunately, it will take a lots of time to implement it.
I am totally agreed with "Suryanarayan Murthy", even I changed my initial jobs so quickly for the same reason. Beginners looks so energetic and talented too, they want good opportunity to do good job, but unfortunately found that immediate boss either...
more...