posted 17 years ago
hi,
in real time applications we are using interfaces which are having method definitions without body.so interfaces methods dont have behaviour so these methods are implemented in sub classes...my question why can't we use methods with body directly in class instead of declaring methods in interfaces...so pleases tell us where exactly interfaces are help ful for realtime applications...and also tell us in which scenario we go for abstract class instewad of interfaces..wating for ur response...
venu