Java: Abstract Class Vs Interface
Java: Abstract Class Vs Interface
Abstract class and interface in java used to provide abstraction but there are lots of differences:
Abstract Class Interface Abstraction(0 to 100%) Abstraction(100%) Abstract class implemented by keyword ‘extends‘ Interface implemented by using keyword ‘implements‘ Abstract class also can not be instantiated but can be invoked if the main() method exists. Interfaceis completely abstract…
View On WordPress















