• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to execute  RSS feed

 
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody sometimes i am unable to execute a code in eclipse to some particular program. where as i can execute others for example



 
nicky priya
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Ranch Hand
Posts: 146
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am unable to execute 

Please copy the full text of the error message and paste it here. It has important info about the error.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please let us know what you are able to execute and what your aren't? Also please attach the stack trace of the error you are encountering? This would help us help you better  
 
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can tell you right now that the values of variables a and b will not change in the calling code. All parameters in Java are passed by value. That includes reference variables. A reference variable to a mutable object that is passed as a parameter can still be used to make changes to the referenced object that can be observed in the calling code.
 
Sheriff
Posts: 4931
334
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to fix code indentation and formatting. Those mentioned points currently are in a terrible state.
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and class names like cbv are no better, I am afraid.

By the way: I was able to execute your code with no error messages at the command line.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!