Mihaela Hetea wrote:The last example from chapter 4, "Collecting Using Grouping, Partitioning, and Mapping" does not compile:
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
OCA Java 6, OCP Java 6, OCP Java 8
There are three kinds of actuaries: those who can count, and those who can't.
OCA Java 6, OCP Java 6, OCP Java 8
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
OCA Java 6, OCP Java 6, OCP Java 8
There are three kinds of actuaries: those who can count, and those who can't.
OCA Java 6, OCP Java 6, OCP Java 8
There are three kinds of actuaries: those who can count, and those who can't.
OCA Java 6, OCP Java 6, OCP Java 8
OCA Java 6, OCP Java 6, OCP Java 8
There are three kinds of actuaries: those who can count, and those who can't.
T Vergilio wrote:What I don't understand though is how it seems to work for certain people. Either the type can be inferred and it will always work, or it can't and it will never work.
Piet Souris wrote:No wonder all my attemps: Comparator<Character>.naturalOrder() failed. Never too old to learn, I guess.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:I'm late to the party, but I agree it was a JDK "change of behavior." I had an older version of Java 8 in my path when I tried it on January 27th so that wasn't a valid test.
Ramesh Natesan wrote:
Jeanne Boyarsky wrote:I'm late to the party, but I agree it was a JDK "change of behavior." I had an older version of Java 8 in my path when I tried it on January 27th so that wasn't a valid test.
I think this should be added to list of errata (https://www.selikoff.net/jpt/)?
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
So I left, I came home, and I ate some pie. And then I read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|