Mahmoud Elkeshky

Greenhorn
+ Follow
since Dec 15, 2019
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mahmoud Elkeshky

I looked for the list of errata before posting the thread, i think you confirm the same that "it should report error" but book shows it is removing the item successfully!!!
Chapter 5
Title: Autoboxing and Unboxing



***: this line when run on IDE outputs "Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 50 out of bounds for length 2"

but in book seems it is working fine.

kindle version  Loc 8364

Campbell Ritchie wrote:Have you any idea whether there is any difference in the printed version, or PDF?



I have no clue if they are written from same source ("Material submitted by authors") but i think they are the same.
for the link you just shared https://www.selikoff.net/ocp11-1/ i already red it carefully before buying the ebook, and also i keep revisiting it for any reported typos and/or errata. Thank you my friend
I found a type error:

chapter 3:
Header: "Types of operators"
Loc: 4243 on kindle version



Error Text:

The final values of cookies and reward would be 9.0 and 3, respectively

Should be:

The final values of cookies and reward would be 3 and 9.0, respectively
Yes, and i begin to follow your recommendations for the study, i kept my score for the review questions in a note in order to re-evaluate my performance once i return back to them.
@Jeanne Boyarsky Yes, and hope these silly mistakes that i commit now would not be repeated during exam ... it's a matter or practicing
@Campbell  Ritchie Thank you i found that i was confused.

is question marked solved now??
it is my first time to post here
For the OCP programmer 1 study guide by the authors:
  • Jeanne Boyarsky
    Scott Selikoff


  • Book amazon's URL:
    https://www.amazon.com/gp/product/1119584701/ref=dbs_a_def_rwt_bibl_vppi_i0


    Question:
    Given the following class which of the following lines of code can independently replace INSERT CODE HERE to make the code compile?(Choose all that apply.)



    Answers:

    A.int Amount = 0b11;


    Chapter 2: Review Questions answer error

    For the Chapter 2: question number:15 Why Answer A. () .... is wrong???

    i tried it on IDE and worked fine

    Sorry i some how got confused and did not realize that amount != Amount, and the answer was not clear at first. thank you i will mark this question solved