Can a constructor throw a exception? How to handle the error when the constructor fails?

The constructor never throws a error,Because we never require to throw an error while creating an object only

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.