This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi satish, you need to use IBM jdk to run the code mentioned. just include IBM jdk in you path remove the sun JDK or any other JDK. Hope it is helpful rakesh