• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OCP Java SE 17 Developer - Edge cases

 
Ranch Hand
Posts: 144
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Khalid/Vasily,

I know the list of changes from Java 11 to Java are the ones below:
[1]: Text Blocks
[2]: Pattern Matching for the instanceof Operator
[3]: Java Records
[4]: Sealed Classes and Interfaces
[5]: Switch Expressions

I've seen the new syntax for those topics and are completely different of what pre-Java 17 developer know.
Do you present edge cases in your book? Those that are rare in the professional life but could be asked in the exam? Like which ones?
 
author
Posts: 151
12
Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jorge,

I believe edge cases are exceptions rather than the norm on the exam.  

Our book is comprised of two volumes, standing at about 1800 pages.
The reason for its hefty size is that topics are covered thoroughly, without glossing over details.
That should give you some idea that edge cases are covered where it is felt necessary.
It is a tall order asking which ones are covered in the book.
I let that be a surprise for the reader.

 
Jorge Ruiz-Aquino
Ranch Hand
Posts: 144
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Khalid A. Mughal wrote:
Our book is comprised of two volumes, standing at about 1800 pages.
The reason for its hefty size is that topics are covered thoroughly, without glossing over details.


Wow, that is almost an encyclopedia! Then, it could be taken as a Java text book for a new Java programer?

Khalid A. Mughal wrote:
...I let that be a surprise for the reader.


I like that one!

I just saw the book details:
Paperback ‏ : ‎ 1851 pages
Item Weight ‏ : ‎ 5.55 pounds  
 
Khalid A. Mughal
author
Posts: 151
12
Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't let the size of the book put you off.
You can go through the book non-linearly, concentrating on the topics that need reenforcing.
 
Khalid A. Mughal
author
Posts: 151
12
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The book can be used as a Java text book and also as a Java reference.
It will also function as a doorstopper, if the need arises. :-)
 
Author
Posts: 297
12
Scala IntelliJ IDE Netbeans IDE Python Java Ubuntu Linux
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Khalid A. Mughal wrote:...
You can go through the book non-linearly, concentrating on the topics that need reenforcing.



I think it's worth mentioning that the book contains extensive questions at chapter ends. Running through those will help you understand whether you need to learn more about that topic, and quite possibly refresh your mind on some details you might have been on the verge of forgetting.
 
Greenhorn
Posts: 8
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Generally, exam question writers are not supposed to focus on testing edge cases. However, sometimes certain concepts are best highlighted when contrasted with the edge case. Thus an exam preparation guide generally follows same approach and looks into edge-cases when they help to shed some light on a given language feature, or a behaviour.
 
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
FWIW I did review for some of the chapters and they are very thorough. Any time I thought a topic was not covered and I found it on the next page
The tests Simon mentioned at the end of the chapter were tricky and solidified the concepts.
 
reply
    Bookmark Topic Watch Topic
  • New Topic