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.
Winston