+ 1

What is the use of defining a class as abstract?

21st Jul 2016, 6:28 PM
Gurpreet Singh
Gurpreet Singh - avatar
1 Answer
+ 1
user can't create instance of it, u force him to extend that class so he can override and use it's methods; it can be uses as data type; it's template to other subclasses and "connects" those subclasses...
22nd Jul 2016, 4:15 PM
Petar Suvajac
Petar Suvajac - avatar