Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 74651
335
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think JDK12. Other people will have different opinions.
 
Ranch Hand
Posts: 54
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic