This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi reader, I am using currently jdk1.2. Last night I installed jdk1.3 on my machine. But see the results. StringTokenizer's nextToken(String delimiter) method excludes delimiters , but same method when used in jdk1.3 it includes delimiters. This resulted catastrophic failure of my criteriaFind method when I used it in jdk1.3. If I use jdk1.2 then it work's fine. Now, do tell me shall I adhere to jdk1.2 or transfer my code to jdk1.3 ?. And try to code again my criteria compatible with jdk1.3 ?. In jdk1.2 I used only single instantiation of StringTokenizer class. If I use jdk1.3 then I had to instantiate many times. Comply soon, Thank you,
Actually according to others, the new 1.3 StringTokenizer can take multiple delimiters, so you would still only need one. While the Instructions does not specifically say that you have to use 1.3 and since you have used 1.2 and you can still get 1.2 from the Sun website. You can get away with keeping it at 1.2. However, i would say form a learning standpoint that using 1.3 will increase your learning. However, I also understnad that working on this project for a period of time you get to the point when you can finish it and be done. It is completely your call. I hope you go to 1.3, especially since 1.4 is now out. We will all be here to help you too no matter what you decide. Good Luck Mark
Hi mark, I had made that I would go with jdk1.3. Since, I already had all the source code. Now do I have to compile with jdk1.3 or simply I change the the path to jdk1.3 and run my programs. Thank you,