DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
print line number java
System.out.println("I'm in line #" + new Exception().getStackTrace()[0].getLineNumber());
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#print
#line
#number
#java
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit