Arjun Dixit wrote:Hello Everyone, I have completed my java certification and looking for job. My interview has been scheduled on 15th april 2020. I have covered lots of topics but remain few is left. Could anyone explain various types of Exceptions in Java? Also, tell me about the different ways of handling them. I am so confused about this part. I have checked a few resources like this which is helpful to me for my upcoming interviews. Can anyone suggest me some more tips?
Paul Clapham wrote:There you go, then. You have made a choice, and you have provided reasons for it. Just what the question asked you to do!
Campbell Ritchie wrote:Why didn't they ask you to write a peek() method? Please show us your code.
Paul Clapham wrote:I could tell you which I prefer and why. But that isn't the question they asked you. They asked which do you prefer and why.
But you already wrote both versions of the code, right? Can you develop an opinion about their relative merits?
Stephan van Hulst wrote:Yeah that's pretty much me.
Although my girlfriend is home more as well, so we play board games or do jigsaw puzzles together more often.
Bear Bibeault wrote:
As Steven pointed out.................It all depends whether you want to be up-to-date with modern tooling, or write code as if it were still 2012.