• 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
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

New features in Java 11

 
Greenhorn
Posts: 2
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne and Scott

Congratulations on the upcoming release of your new study guide. I am in the process of completing my Java SE 8 Programmer certification after not working with Java for a few years. I completed the first exam (Java SE 8 Programmer 1) with 95% using your book “OCA Java SE 8 Programmer 1 Study Guide” as the only book I read for the exam. Thanks!! I also purchased and completed some practice exams. I found this book really useful in bringing me up to date with all the changes in Java since I was last certified. I’m currently using your “OCP Java SE 8 Programmer II Study Guide” book to study for the next exam.
When I was deciding which certification to complete, I noticed that there were not many books published for the Java 11 Certification so I opted to go with Java 8. I was also wondering how many businesses had started using Java 11 and whether I’d be learning Java features that may not be available in a future job.
So, after that long introduction, I’d like to ask you what new feature(s) in Java 11 do you think will be most useful for businesses looking to move to Java 11?

Thanks!
 
author
Posts: 4172
29
jQuery Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First off, that's an excellent score!  Congratulations on passing the exam.  And your welcome for the book, we spent a lot of time making it useful.

For Java 11 features, I love var (local type inference).  I didn't at first... in part, because I wanted it to be dynamically typed like in some other languages!  That said, it is very useful, especially when working with IO/NIO.2/databases.  Basically, anywhere you use try-with-resources, you should use var.  The new interface methods are also really nice.  The biggest changes are just that they cleaned up the language a lot, no longer afraid to make breaking changes to the Java language.

On the flip side... I have a love-hate relationship with modules.  Oracle loves them, I hate them :P

For business migration, it's changing a lot.  It used be very difficult to upgrade versions of Java with businesses using them for years (or decades at a time).  This was influenced in part by Sun/Oracle releasing new versions of Java so rarely.  Now that they are releasing every 6 months (with 3 year LTS releases), the changes are becoming much easier to deal with.  It's a culture change as much as it is a software change though.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne and Scott,

Are there any updates on streams in Java 11?
 
Marshal
Posts: 66525
251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I may be mistaken, but I think the updates to Streams were mostly in Java9. Since there isn't a Java9 exam, any questions about such updates would come up in the Java11 exam.
 
author & internet detective
Posts: 39655
785
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell is correct. There are some new APIs covered
 
What are your superhero powers? Go ahead and try them on this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!