When was this Java class compiled?
Credits to Dmitry Beransky on the advanced-java@discuss.develop.com list.
import java.util.Date;
import java.io.IOException;
public class When {
public static void main(String args[]) throws IOException {
Date d =
new Date(
When.class.getResource("When.class")
.openConnection()
.getLastModified()
);
System.out.println("This class was compiled on " + d);
}
}
Group items matching
in title, tags, annotations or url
1More
IOS Software development Company in India - 0 views
1More
Buy Verified Cash App Accounts - 100% BTC Withdrawal Enabled - 0 views
1 - 18 of 18
Showing 20▼ items per page