sameera kumarasingha

Greenhorn
+ Follow
since Sep 27, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sameera kumarasingha



Normall a path ignores all the "."(this directory) it contains. So "c:\personal\.\photos\readme.txt" and "c:\personal\photos\readme.txt" should give identical results for different operations, but in the following code normalize path gives different result than other, can anyone explain the reason for this?


Output:


In the book Oracle Certified Professional Java SE 7 Programmer Exams
1Z0-804 and 1Z0-805 by Ganesh & Sharma there is a whole section about Semaphore, Phaser, CountDownLatch, Exchanger and CyclicBarrier. But i couldn't find any of them in the OCPJP exam contents. So are there any questions about these topics in OCPJP?
if you use non-static initilizers same thng happens