I have to initialize file objects inside the constructor and for handling the exception, is it efficient using throws or should I go for try/
throws
try
You are supposed to take the object to a safe state in the constructor, but let's imagine you want to open a file(for reading) that doesn't exists, throwing the exception is the only way. So it depends on the logic you implement