Skip to content

Commit

Permalink
Update systemexit.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SayaliPatiil authored Dec 14, 2021
1 parent fd9998d commit cc235da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions systemexit.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ public static void main(String[] args)
{
if (arr[i] >=MAX_NEMBER_OF_REQUEST )
{
System.out.println("exit...");
logger.info("exit...");

// Terminate JVM
System.exit(0);

}
else
System.out.println("arr["+i+"] = " +
logger.info("arr["+i+"] = " +
arr[i]);
}
System.out.println("End of Program");
Expand Down

0 comments on commit cc235da

Please sign in to comment.