Paulo Cesar Dias Lima wrote:Which JDK version should I use ? JDK 12 or 11 ? To practices coding to OCP 11 EXAMS? Does it matter?
I m working in a project using JDK 12 and also will study to OCP 11 EXAM. I wondering If I could use the JDK 12 for both goals.
Hanumant Deshmukh congratulations on new book "OCP Oracle Certified Professional Java SE 11 Programmer I Exam Fundamentals 1Z0-815" .
Regards and I wish you success.
Better to use Java 11 because Java 12 has a few new features that might cause confusion in the exam, namely, switch expressions and API changes in stream and collections related classes. I have not checked but there might be new command line options for related to modules also. Or the same option might work differently in Java 11 and Java 12.