Click here to Skip to main content
15,439,373 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
what is the advantage of writing a program by using interface class(if needed)over without using it?
what is the technical advantage of using it rather than architectural?
Can anybody please give answer (those who feel the exact advantage of using it) it in few words rather than posting a web link...
Sergey Alexandrovich Kryukov 3-Jun-11 23:09pm     CRLF
Why do you think architectural is not technical? Also, when you say "advantage" you should say compared to what? In this way this question makes no even remote sense -- so far. Get my vote of 1. If you reformulate it and notify me, I'll rethink it. --SA
sreejith_g 8-Jun-11 6:04am    
architectural is not technical(I mean functional) : An eg We can design a car with steering wheel in any shape(architectural) but can't develop a car with out steering wheel(functional)

This link may be help to you
Share this answer
sreejith_g 3-Jun-11 6:01am    
the question is what happened if i write a program with out using interface class or what is the technical advantage of using it rather than architectural?
Try looking at the technical documentation for your language of choice, or even a simple Google search for "Java Interface", such as : this[^].
Share this answer
sreejith_g 3-Jun-11 6:28am    
sir , that is the problem nobody know exact what is interface, all of them gives a web link and saying just refer it. If you don't mind can you reply the exact advantage(if you feel the exact advantage) in 20 words?
Sergey Alexandrovich Kryukov 3-Jun-11 23:10pm     CRLF
You dare to say that, nobody knows? --SA
Richard MacCutchan 3-Jun-11 7:36am    
No I cannot give you the exact advantage in 20 words; it's not that simple. You need to study the reasons for using Interfaces in code. Technically it does nothing, but semantically it can ensure that your code follows specific rules or patterns.
Sergey Alexandrovich Kryukov 3-Jun-11 23:11pm     CRLF
What OP is doing is a pure abuse. I'll remove the whole thing. --SA
Richard MacCutchan 7-Jun-11 9:09am     CRLF
I guess you should look at the thread at :

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900