• Post Reply Bookmark Topic Watch Topic
  • New Topic

The method setFall(int) in the type Name is not applicable for the arguments ().  RSS feed

 
Mulk Abdulhadi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Error : The method setFall(int) in the type Name is not applicable for the arguments ()


Can someone please tell what is wrong with my program ?
I know it is probably really simple
 
Knute Snortum
Sheriff
Posts: 4274
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, what's the difference between where the method gets called in line 9 and where you get the error?
 
Mulk Abdulhadi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know ?
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mulk Abdulhadi wrote:I don't know ?


That method take an int argument. Are you passing any?

Henry
 
Mulk Abdulhadi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am passing an int .
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mulk Abdulhadi wrote:I am passing an int .


Really?!? Here is your calling code...



Can you tell us what int value you are passing? I don't see anything being passed as the first parameter.

Henry
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!