title: How to Count number of parameters of any method in java
body: <p>If I have the method like 
  public int sum(int a, int b, int c)
  {
  }</p>
  
  <p>Answer: Parameters count is 3</p>
  
  <p>Methods having parameters has not fixed, sometimes it might be 2 or 1 or 4
  How to find out this through Java code ?</p>