John McAlroy

Greenhorn
+ Follow
since Oct 09, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John McAlroy

Date d = new Date(new File("filename.txt").lastModified());
Creation date is forgotten after the file is modified so lastModified() is all you can get.
That's ok, Roger. Since I joined JR only today, I did not read that post.
21 years ago
I have been to Khajuraho. And dude, Playboy ought to take some inspiration from them
21 years ago
Both, trim() and toUpperString() create a new string object ONLY IF there a change is required in the original string otherwise, same object is returned. So, 2 returns false while 4 returns true.