Difference B/w abstract & interface

Anyone tell me what is Difference B/w abstract & interface. because i m very confiuse.
plz tell me

Anyone tell me what is Difference B/w abstract &
interface. because i m very confiuse.
plz tell meNo doubt you're very confused, seeing how you post this kind of vague-ness.
http://forum.java.sun.com/thread.jspa?threadID=734360
Maybe this is the wrong field for you. Just maybe.

Similar Messages

  • Who can tell the difference of the abstract interface class?

    someone ask me that he had a abstarct interface class, such as :
    public abstract interface Book{
    I was comfused, who can tell me why use it?

    http://java.sun.com/docs/books/tutorial/java/interpack/interfaceDef.html
    Scroll down to the bottom.
    Drake

  • Difference between abstract interface and normal interface

    Hello Friends,
    What is the Difference between abstract interface and normal interface?....

    What is the Difference between abstract interface and
    normal interface?....The difference is that you didn't follow convention in the first case. All interfaces are implicitly abstract so you don't have to declare them as such.

  • Regarding Abstract Interface

    Hello,
    What makes the difference between the Normal Interfaces and Abstract Interfaces. Is there any technical differences between these two interfaces.
    Thank you

    Hi,
    You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure.
    When you create a message interface you define the communication parameters by using the attributes Mode and Category as Sync/Async, Inbound/Outbound or Abstract.
    Message interfaces of this category can perform the role of an inbound or outbound interface within integration processes, depending on whether it is used to send or receive a message. For this reason, no direction is specified during definition. In integration processes, you can use the same abstract interface to receive and send a message. Abstract message interfaces generally receive the message from an outbound interface of a sender system and send it to an inbound interface of a receiver system, thus performing a complementary role.
    BPM can interact and deal with only Abstract Interfaces. And so, if you have a transformation step inside the BPM , the source and target interface will have to be abstract interfaces.
    These characteristics determine the direction of an interface:
    ·        An outbound interface sends a request message that is only used to make a communication party aware of data sent, without waiting for a response message. In the case of the latter, we also refer to publishing interfaces.
    ·        An inbound interface receives a request message that you reply to with a direct response message or whose data you can process in the system without a response.
    Thanks
    Swarup

  • Abstract Interface in XI

    Hi Experts,
    Is the concept of Abstract Interface same as that of Java?
    I know that the abstract interface is used in BPM and it doesnt have any direction. Any special use of abstract??
    Please suggest.
    Regards,
    Sushama

    Hi Sushma,
    When you're defining an interface in Java, it's always abstract, though you
    don't need to declare them as such.
    So there's no difference between
    abstract interface I
    void method();
    ....and...
    interface I
    void method();
    I think
    but abstract interfaces in XI are different for Java abstract.
    Thanks,
    Sateesh

  • Use of abstract interface

    I have a series of questions....... Go through.
    What is the use of abstract interface in java ?
    What is the use of static object in java ?
    What is the use of abstract key word to variables ?
    Object reference passed to method are final. Can ' t we change it ?

    class Testing {
         int i;
    public class RefFinal {
       public static void f ( Testing t1, Testing t2) {
           Testing temp;
           temp=t1;
           t1=t2;
           t2=temp;
           System.out.println("value of i in t1 =" +t1.i);
           System.out.println("value of i in t2 =" +t2.i);
       public static void main( String args[]) {
          Testing t1 = new Testing();    
          Testing t2 = new Testing();    
          t1.i=10;
          t2.i=20;
          f(t1,t2); 
          System.out.println("value of i in t1 =" +t1.i);
          System.out.println("value of i in t2 =" +t2.i);
    }      Here the code explain why?

  • BPM, abstract interface unavailable

    Hello,
    I want to build a business process. Therefore I need some container elements. One container element has the type abstract interface. The message interface is defined in some namespace of some software component. But unfortunately I can't select this message interface in the dialog. Of course I have already activated my change list. I also refreshed the CPA cache, but this doesn't help a lot. What can I do in order to see this abstract interface.
    Thank you very much,
    Oliver

    Hallo Oliver,
    XI currently only allows BPM to use interfaces within the same software component or within a software component with which you have a based on relationship defined.
    I think, that this does not make too much sense, but that's the answer we got to an according OSS message.
    Best Regards
    Christine

  • BPM Abstract Interface for IDOC?

    Hi all,
    I am doing an IDOC XI File scenario with BPM.
    I have created an Inbound Asynchronous and an Abstract Interface for the LEGACY SYSTEM(Target Message).
    I didn't create any Abstract interface for the IDOC(Source message).
    I am getting this error:
    <b>"Expression must return the interface type DEBMAS.DEBMAS06.DEBMAS06".</b>
    Do I need to create an Abstarct Interface for the IDOC?
    According to the above error, BPM is expecting an ABSTRACT INTERFACE Type for the IDOC.
    Experts need help from you.
    Thank you,
    Joslyn.

    That mapping is an dummy mapping between Idoc to Abstract Idoc Type. Here Sender Idoc Interface is mapped with Reciever Abstract Idoc interface.
    So inside the BPM, Abstract Idoc interface acts as a Container variable to collect the idocs.
    For simplicity-for collection of idocs
    You can see, BPMPatterns from the SAP BASIS Software Component in your XI Repository.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    Regards,
    Moorthy

  • Transformation Abstract interface

    Hello , i am using a message transformation step in BPM where msg 1 thats input for this map is xml and output is being mapped to a IDOC.
    Now since in BPM i have to use abstract interfaces and how can i relate this abstract interface in transformation step with the IDOC. Can i create the abstract interface and then relate it to IDOC and use it in BPM ?
    Krishna

    Hi Krishna ,
    in message mapping just - drag and drop - the IDOC_type from your node "imported objects"
    Thats all.
    Regards Mario

  • Copy value of container (abstract interface) to an other container

    Hello,
    Is it possible to copy the value of an container (abstract interface) in BPM to an other container (abstract interface)?
    Thanks and regards
    Verena

    Hi Verena,
    If you have the entire msg that you want to want in a container then you can probably use APPEND in container operation.
    But if your msg is a part of an intermediate strucure like the one i showed in my previous posts, then you Have to use Mapping in a BPM Transformation step for the simple reason that you cannot change a message by using a container operation.
    Regards,
    Sridhar

  • What is a "Abstract Interface" ?

    According to JavaDoc, <code>HttpSession</code> is described as
    public abstract interface HttpSession.
    What is an "abstract interface" ?

    All interface's are implicitly abstract so declaring an interface abstract is a bit pointless.

  • Fortran 2003's abstract interface

    Although the documentation for the 12.4 beta claims support for the ABSTRACT INTERFACE feature, it's not clear whether the support is full or partial.  The following code fails to compile with sunf95:
    module mod1
      use iso_fortran_env
      implicit none
      abstract interface
      pure function i_f(x)
      real :: i_f
      real, intent(IN) :: x
      end function
      end interface
    contains
      subroutine iterate(f, x, y)
      procedure(i_f) :: f
      real, intent(IN) :: x(:)
      real, allocatable, intent(OUT) :: y(:)
      integer :: i
      allocate (y(SIZE(x)))
      do i = 1, SIZE(y)
      y(i) = f(x(i))
      write (OUTPUT_UNIT, '("y(",I0,"): ",G0)') i, y(i)
      enddo
      end subroutine
      pure function square(x) result(res)
      real :: res
      real, intent(IN) :: x
      res = x ** 2
      end function
    end module mod1
    use mod1
    implicit none
    integer :: i
    real, allocatable :: x(:), y(:)
    x = [real :: (i, i = 1, 10)]
    call iterate(square, x, y)
    end
    The compiler assumes that the passed procedure is a subroutine ---i.e., it ignores the abstract interface.

    This is a bug in the compiler. The problem is not in the abstract interface but in getting the interface from the host scope. To work around the problem, you can copy the abstract interface from the host scope to the local scope where it is used, like this:
      subroutine iterate(f, x, y)
      abstract interface
      pure function i_f(x)
      real :: i_f
      real, intent(IN) :: x
      end function
      end interface
      procedure(i_f) :: f
      real, intent(IN) :: x(:)
      real, allocatable, intent(OUT) :: y(:)
      integer :: i
      allocate (y(SIZE(x)))
      do i = 1, SIZE(y)
      y(i) = f(x(i))
      write (OUTPUT_UNIT, '("y(",I0,"): ",G0)') i, y(i)
      enddo
      end subroutine
    then the dummy procedure 'f' will be correctly identified as a function.

  • Can we have abstract interface

    can we have abstract interface if so wats the significance of it?
    plz give me an example

    public abstract interface AbstractInterface {
    }The compiler allows it, so you can have them. But as said it's redundant and discouraged.

  • IDOC as Abstract Interface

    I am trying to use IDOC structure as an Abstract Interface. We store all our imported IDOCs in a different software component. In Integration Process when I try to define Container Element I am not able to select the IDOC as an Abstract Interface.
    I tried to make an External Definition by importing the IDOC and then trying to build a Message Interface and that did not work too.
    Any suggestions welcome.
    Regards
    Mike

    Hi Michael,
    Directly you cannot use Idoc interface as an Abstract Interface. You have to create Absatact Interface in IR for the imported Idoc and then you can use it to define container element.
    Also check this...
    "An integration process can only reference interfaces from its own software component version."
    http://help.sap.com/saphelp_nw04/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
    Regards
    Anand

  • Method in abstract interface

    Suppose I have an abstract interface which has one method:
    public abstract interface IParent {
      public void setSignal(int signal);
    }And I have a concrete interface inherited from IParent which also have one method:
    public interface IChild extends IParent {
      public void setSpeed(int speed);
    }If I define a class which implements IChild it only asks me to implement setSpeed method.
    public class Test implements IChild {
    }Why it does not ask me to implement setSignal method of IParent interface?

    Suppose I have an abstract interface which has one method:
    Every interface is implicitly abstract.
    public void setSignal(int signal);
    Every method declaration in the body of an interface is implicitly public.
    And I have a concrete interface inherited from IParent which also have one method:
    Every interface is implicitly abstract.
    If I define a class which implements IChild it only asks me to implement setSpeed method.'It' being what?
    Why it does not ask me to implement setSignal method of IParent interface?I have no idea what 'it' you're talking about, but the Test class will not compile.

Maybe you are looking for

  • MSI GeForce4 Ti-4200 128M 8X software

    Here is the deal.  The card install went well.  MSI driver installs, but the MSI info and Clock tabs are inop.  Upon selection, I get an error message, app .... .dll error and when i install the MSI live update it shows an VBIOS.dll error and will no

  • Deploying ear file in Sun app server

    [#|2004-10-15T12:46:20.781+0530|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.err|_ThreadID=11;| javax.management.InstanceAlreadyExistsException: com.sun.appserv:j2eeType=ResourceAdapter,name=StartUpConnector.rar,ResourceAdapterModu

  • Startup Chimes with audio cable connected?

    My Mini has started to sound it's healthy startup chime even when there is an audio cable connected to the audio/headphone output. The output works fine and sends audio to the speakers, but how can I mute the chime at startup? Previously it always mu

  • Saving image as file or in database

    What is the best practice for saving user uploaded picture? Should that image be saved in database or in some directory.

  • Vocal command:how Apple script ?

    Hello, i'm new and i've got a question about Apple Script. I want to use the Vocal  Recognition for my app, is it possible? For example, i say to my computer "open safari and search to google "APPLE"" end the computer do that. I know that there is a