Difference between abstract class and interface
Answer Posted / er. prabhat, tcs
biggest difference:
purpose of class is to represent objects
while
purpose of interface isn't to represent objects.....by
interface programmer gets only method names..but body is 2b
given by him....
now a question arises in my mind...if i'm giving body of
method then why shouln't i giv name too.....hmmmm.....
bete...interface ke methods ke body to programmer deta hai
bt chalata koi aur hai...it is not programmer who calls
these methods..
chinta mat karo...i'm giving example.....
EVENT HANDLING :ActionListener ko implement kiya,
actionPerformed() ki body di....magar actionPerformed() ko
humne nahi chalaya..note it
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Do you know textbox and textview controls of .net mobile? : Microsoft dot net mobile
Explain about developer benefit from memory management?
can u give me real example of how web.config overrides the machine.config file?
what is inheritancy where u required ?
What is .net mobile automatic paging? : Microsoft dot net mobile
How do I write to the application configuration file at runtime?
What actually happes when you add a something to arraylistcollection ?
what is sessions and cookies take one example simple way to understand
What is the difference between absolute expiration and sliding-time expiration?
What is difference between Desktop, Client Server & Web based applications?
how to change row background color in gridview
server.transfer limitation ?
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
So what exactly is the configuration file for then?
Can you explain update progress control?