mikali singh wrote:what are the real time example of abstract class and interface and also give some major difference between them.
Just for free: there are plenty of examples in the Java Collections API, just one of which is List (java.util.List) and AbstractList. I suggest you look at the docs and see if you can work out the differences for yourself.
Bats fly at night, 'cause they aren't we. And if we tried, we'd hit a tree -- Ogden Nash (or should've been).
Articles by Winston can be found here