Morten Banzon

Greenhorn
+ Follow
since Dec 14, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Morten Banzon

Chapter 9, page 511, last paragraph :

If you forget and use the String " readOnly ," Java will silently ignore the statement and the file will still allow anyone to write to it.



I believe 'silently ignore' is incorrect. File 'a' exists and :



prints:



Tested with JDK 1.7.0_51