Well, the class is set of variables and method implementations. And interface is set of Abstract methods. ...Hope it answer your question... | 0 |
By: [email protected] On: Sat May 26 12:58:59 IST 2018 0 0 0 | 0 |
Are You Satisfied :0Yes0No |
All methods declared in interfaces are abstract by default whereas in abstract class it may be instance method as well as abstract. Variables defined in the interface are final always but in case of abstract class, they are non-final. So there is more restriction on method and variables defined in an interface instead of abstract class. | 0 |
By: [email protected] On: Fri Jun 15 14:18:56 IST 2018 0 0 0 | 0 |
Are You Satisfied :0Yes0No |
abstract class also contain non abstract method but interface always contains all abstract method by default if programmer not define them as default. | 0 |
By: [email protected] On: Sat Jun 16 13:01:18 IST 2018 0 0 0 | 0 |
Are You Satisfied :0Yes0No |