Results 1 to 2 of 2

Thread: abstract classes and interfaces ?

  1. #1
    Join Date
    Jan 2019

    abstract classes and interfaces ?

    Hello Dear,

    Please Tell Me What is the difference between abstract classes and interfaces ?

  2. #2
    Registered sulbha's Avatar
    Join Date
    Dec 2014
    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.

Similar Threads

  1. wrapper classes ?
    By islamicastrologer in forum HTML, CSS, Layout, and Design
    Replies: 1
    Last Post: 08-30-2019, 04:03 AM
  2. Virtual method and Abstract method ?
    By islamicastrologer in forum Website Programming & Databases
    Replies: 0
    Last Post: 05-04-2019, 02:57 AM
  3. PHP Classes
    By mobilebadboy in forum Website Programming & Databases
    Replies: 3
    Last Post: 10-07-2007, 03:16 PM
  4. generating page abstract for Mysql boolean search
    By Chris in forum Website Programming & Databases
    Replies: 1
    Last Post: 08-02-2006, 02:11 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts