‎2008 Feb 20 9:33 AM
Hi Guys..
Can you explain me the way , how the implematation of methods from Abstract class and Interfeces works in subclasses..and what is the advantages and disadvantages of each..
Rewards points if answered..
Thanks in advance
Sravan
‎2008 Feb 20 9:38 AM
Hi,
Abstract classes are majorly used when u want to substitute a part of the class functionality through your own defined implementation.
Interfaces are generally used when you dont have an exact defined implementation to any of the methods in the class..
Thats why you define an interface for a class and we will use a class to implement that.
Hopefully it gives you some idea.
Reward if helpful
‎2008 Feb 20 9:38 AM
Hi,
Abstract classes are majorly used when u want to substitute a part of the class functionality through your own defined implementation.
Interfaces are generally used when you dont have an exact defined implementation to any of the methods in the class..
Thats why you define an interface for a class and we will use a class to implement that.
Hopefully it gives you some idea.
Reward if helpful
‎2008 Feb 20 9:41 AM
1) Implementing Abstract class methods :
https://forums.sdn.sap.com/click.jspa?searchID=8998584&messageID=4078691