| Author |
Is this in the exam; Try with resources statement
|
Gynnad Paullussen
Ranch Hand
Joined: Jan 26, 2011
Posts: 47
|
|
Hi,
I'm doing some test exams on Whizlabs, and now I'm getting this question. I read the K&B 6 book, but never heard of this question:
Could someone say to me, if this is in the exam of what this is?
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
|
I believe that's a topic from the OCPJP 7, not the OCAJP 7.
|
SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
|
 |
Paul Anilprem
Enthuware Software Support
Ranch Hand
Joined: Sep 23, 2000
Posts: 2912
|
|
|
Try with resources is not covered in this (OCA JP) exam.
|
Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
|
 |
K. Tsang
Ranch Hand
Joined: Sep 13, 2007
Posts: 1219
|
|
Try with resource is a new feature in Java 7. So the K&B v6 guide will not have such topic.
For the question concerned, I think it's A & B
Upon checking the Java 7 API, there's no java.io.Resource and java.lang.AutoResource interfaces.
|
K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
|
try with resources is on the OCPJP, not the OCAJP. However even there, they didn't quiz on details like package names. At least not on my test.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Gynnad Paullussen
Ranch Hand
Joined: Jan 26, 2011
Posts: 47
|
|
K. Tsang wrote:Try with resource is a new feature in Java 7. So the K&B v6 guide will not have such topic.
For the question concerned, I think it's A & B
Upon checking the Java 7 API, there's no java.io.Resource and java.lang.AutoResource interfaces.
Ok thanks all. And yes the right answer was A and B!
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4351
|
|
Omar Jouda, Your post was moved to a new topic.
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Is this in the exam; Try with resources statement
|
|
|