• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Which JDK version should I use ? JDK 12 or 11 ? To practices coding to OCP 11 EXAMS? Does it matter?

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marshal
Posts: 65374
248
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think JDK12. Other people will have different opinions.
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OCP11 is Java 11. So, it makes sense to use JDK 11 if you really want to be sure the code / behavior is the same,
although I assume JDK 12 will also run Java 11 code. i.e. There is backporting.
 
Author
Posts: 27
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

thanks for the wishes!
 
She'll be back. I'm just gonna wait here. With this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!