View Full Version : abstract classes and interfaces ?
Joyadelfin
10-01-2019, 05:28 AM
Hello Dear,
Please Tell Me What is the difference between abstract classes and interfaces ?
sulbha
07-08-2020, 11:06 PM
Hi Friend,
Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior. A Java class can implement multiple interfaces but it can extend only one abstract class.
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.