Skip to content
Advertisement

Tag: user-defined

How to apply user defined try catch block in java

I am a beginner and I’ve finished the basic Nim game. Now I want to apply the try catch block to the program to make sure the flow control is perfect. However, the resources I’ve seen for now is to catch the exception in the main method that all the methods created must be called in the try block to

Advertisement