thanks sir now i find the use of parseInt.
Type: Posts; User: mk12345
thanks sir now i find the use of parseInt.
what is the use of parseInt() method.?
That feature is called varargs, and it's a feature introduced in Java 5. It means that function can receive multiple String arguments:
The parameter that gets the ... must be the last in the method...
it allows the programmer to avoid having cleanup code accidentally bypassed by a return, continue, or break. Putting cleanup code in a finally block is always a good practice, even when no exceptions...
replace conditional statement with the while loop.
or
use for(;x>7; ) instead of if(x>7)
in case of checked exceptions-it follows throw early catch later principal which is necessary for handling the exceptions.
in case of unchecked exceptions-we donot know the type of exception, they...