Core Java: How To Get Java Source Code Line Number & File Name in Code

Core Java: How To Get Java Source Code Line Number & File Name in Code

Note: This article will be emailed to your friend.

While debugging code Java programmers often use System.out.println(). It is important to write separate message in each System.out.println() so you can understand from the output where the problem lies.

Now it is time-consuming and somewhat tedious to invent new message for each System.out.println() debug message. What if you could call methods which allows you to print [...]

Read the rest of this article (169 words)

Please fill in the following fields

* - Required

Your Name: *

Your E-Mail: *

Your Remarks:

Friend's Name: *

Friend's E-Mail: *

Protected by Comment Guard Pro