cancel
Showing results for 
Search instead for 
Did you mean: 

Polymorphism in Webdynpro for Java

Former Member
0 Kudos

Hi Experts,

Can anybody tell me how polymorphism is implemented in Webdynpro for Java .

Thanks a lot .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create your methods betweent following area which is at the end of all the controllers.



//@@begin others
   
   public void add(int a, int b)
  {
	  
  }
  public void add(String a, String b)
  {
	  
  }
  
  //@@end

Regards

Ayyapparaj

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello jain,

I have tried this problem and find that the NWDS is not supporting another method with same name. In normal case we have to create a method with same name and after that we have to specify the arguments, Since its not allowing to create another method with same name, i can not specify the number/type of arguments to check the polymorphism in Java WebDynpro.

So what i think it don't support the above mentioned. We need to have RND for this subject.

Regards

- Vinod

*