sameera kumarasingha

Greenhorn
+ Follow
since Sep 27, 2014
Merit badge: grant badges
For More
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
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

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