Skip to content

Opening book details…

About this document

Abstract Class vs Interface in Java by Kalyani Ghosh is a document available to read on EtoBox.

The document compares key differences between abstract classes and interfaces in Java. It notes that abstract classes can contain both abstract and non-abstract methods while interfaces can only contain abstract methods. Abstract classes support single inheritance while interfaces support multiple inheritance. Abstract classes can have variables of any type while interface variables are static and final by default.

Author
Kalyani Ghosh
Language
EN