Search:

Type: Posts; User: hefese

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,053

    Re: assert() function is not working. Why?

    Thank you so much Cornix. I did it in Eclipse and Netbeans like that:

    In Eclipse:
    Run->Run Configurations->Arguments->VM Arguments-> ....
    I wrote -ea in VM Arguments.

    In Netbeans:
    Run->Set...
  2. Replies
    2
    Views
    1,053

    assert() function is not working. Why?

    The following program is not working as I want. The assert() function is not working while I'm entering a number which is out of range 0-10. Whereas, according to my book, it is working like that:
    ...
  3. Re: Netbeans and Eclipse compiler's output is different. My book's output is too...

    Okay, thank you guys for your replies.
  4. Re: Netbeans and Eclipse compiler's output is different. My book's output is too...

    Firstly I cannot believe that my book is not correct, but you said that "'Exception handled in main' should never be printed." and I think it is sensible. Secondly I learnt the reason of different...
  5. Netbeans and Eclipse compiler's output is different. My book's output is too...

    Hi,
    I was trying to execute the following codes, but the something that I don't undestand was happen. The program was compiled differently according to ouput picture of the program in my java book....
Results 1 to 5 of 5