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
What is the use of web.config?
How do you handle this COM components developed in other programming languages in .NET?
What is a clickonce application?
what is the difference between running an application with and without debugger?
What is the difference between machine config vs. Web config : Dot net architecture
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
Explain a .net mobile example with details? : Microsoft dot net mobile
Explain the difference between l1 and l2 cache? : Dot net architecture
what is the method while we are using adapter and dataset ?
Explain the purpose of cache? : Dot net architecture
difference between Response.write,server.transfer and also which one is used when ?
Explain .net mobile events? : Microsoft dot net mobile
Explain pipelining? : Dot net architecture
Define dma? : Dot net architecture