Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

interface object

pradeep_nellore
Participant
0 Likes
330

Hi,

Can any one let me know what is the need to create an object for an interface??

This i have seen in so many programs??

Thanks

--Pradeep

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
314

Hi,

We can't create any object for an Interface, instead we create object for a Class....

Thing why the interface got into picture was due to the supporting of the Multiple Inheritance in ABAP.

So we have to implement the Interface in a Class and create an object to this class and thus makes use of the concept of Multiple Inheitance..

Please come back to me if you have any queries on this.

Thanks,

Vishnu.

1 REPLY 1
Read only

Former Member
0 Likes
315

Hi,

We can't create any object for an Interface, instead we create object for a Class....

Thing why the interface got into picture was due to the supporting of the Multiple Inheritance in ABAP.

So we have to implement the Interface in a Class and create an object to this class and thus makes use of the concept of Multiple Inheitance..

Please come back to me if you have any queries on this.

Thanks,

Vishnu.