What is signature of method?

 signature of method is represents the access specifier the return data type the name of the method it's parameter and their data type 

Ex 

1    public                         void                                  show(String name, int i)

  Access specifier           Return datatype       Name of the Method   datatype and parameter


2 protected                       int                               AddNo(int x,int y)

Access specifier        Return Datatype     Name of the method   Datatype and parameter

As above i am try to clear it with same color

Comments

Blogs