Java Magazine, Mar/Apr 2018
ORACLE COM JAVAMAGAZINE MARCH APRIL 2018 104 fix this to debug because the operations are performed internally to the collect method implementation Some things just have to be learned and once you have learned about this issue particularly if you learn it the hard way you become pretty sensitive to the order of those arguments Therefore options C and D are incorrect and option E is the correct answer As an aside this is the correct form of the collect call collect new StringBuilder x y x append y x y x append y article Simon Roberts joined Sun Microsystems in time to teach Suns first Java classes in the UK He created the Sun Certified Java Programmer and Sun Certified Java Developer exams He wrote several Java certification guides and is currently a freelance educator who publishes recorded and live video training through Pearson InformIT available direct and through the OReilly Safari Books Online service He remains involved with Oracles Java certification projects Mikalai Zaikin is a lead Java developer at IBA IT Park in Minsk Belarus During his career he has helped Oracle with development of the Java certification exams and he has been a technical reviewer of several Java certification books including three editions of the famous Sun Certified Programmer for Java study guides by Kathy Sierra and Bert Bates
You must have JavaScript enabled to view digital editions.