Need to know where to use abstract class and interface
Abstract class and interfaces confuse me heavily. where have to use abstract class and where have to use interface. And also explain it with real time example also. Please anyone clear this doubt...
Upendra Pratap ShahiPosted Sep 8, 2015, 1:12 AM
Upendra Pratap ShahiPosted Sep 10, 2015, 6:25 AM
Munesh SharmaPosted Sep 8, 2015, 1:37 AM
Sudhesh GnanasekaranPosted Sep 8, 2015, 1:24 AM
Rajeesh MenothPosted Sep 8, 2015, 12:39 AM
Karthikeyan KPosted Sep 8, 2015, 12:25 AM
Harshad PansuriyaPosted Sep 8, 2015, 12:24 AM
You should use an abstract class if you need to supply a base implementation.
Otherwise, use an interface.