Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: What wrong with my code? count++ isnt incrementing.

    I suggest you put together an updated SSCCE that demonstrates your newest code exhibiting the problem.
  2. [SOLVED] Re: What wrong with my code? count++ isnt incrementing.

    That code would print out 8.
  3. [SOLVED] Re: What wrong with my code? count++ isnt incrementing.

    You might have a combination of two misunderstandings here.

    First, changes you make to a local variable don't "stick". What I mean by that is:


    public static void main(String... args){
    int...
Results 1 to 3 of 3