What is e.printStackTrace(
😃) ?

See here ...


============ = = = = =
e:-reference of ur Exception PrintStackTrace() is a runtime method present in side StackTrace class



Internally u give ur current exception reference I.e e and when ur code execute
Then jvm tell to StackTrace class hey stackTrace some one give me exception reference plz take that reference and then trace in stack and see what problem going on then print them. ...
Then jvm tell to StackTrace class hey stackTrace some one give me exception reference plz take that reference and then trace in stack and see what problem going on then print them. ...

Comments
Post a Comment