Search:

Type: Posts; User: sumitroy

Search: Search took 0.20 seconds.

  1. Replies
    4
    Views
    194

    Re: unexpected output

    thanks!
  2. Replies
    4
    Views
    194

    Re: unexpected output

    the compiler gives the following error when i specify sleep() without try/catch{}:

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    Unhandled exception type...
  3. Replies
    4
    Views
    194

    unexpected output

    Why doesn't the following code display "stop" ? If i specify the function sleep() without a try/catch, then an interrupted exception is thrown. So now when I've given the try/catch block, that...
  4. Thread: constructors

    by sumitroy
    Replies
    2
    Views
    49

    constructors

    can we use access specifiers like public or private before constructors?
    pls give an example explaining how?
Results 1 to 4 of 5