🔥 HOT: T//certification/Errata OCP Java SE Programmer - Full Gallery 2025
- Post Reply Bookmark Topic Watch Topic
- New Topic
- Devaka Cooray
- Campbell Ritchie
- Tim Cooke
- Ron McLeod
- Paul Clapham
- Liutauras Vilda
- Jeanne Boyarsky
- paul wheaton
- Tim Holloway
Errata OCP Java SE 11 Programmer I Study Guide - Chapter 1 Review Question 16
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Errata OCP Java SE 11 Programmer I Study Guide, in Chapter 1, in Review Question 16,
The answer is written as only D option. But it should be B, D, F.
B --> javac named\A\Bird.java compilation works
D --> javac named\A\Bird.java compilation works
F --> javac named\A\Bird.java compilation works
Could you possibly check it please?
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Please provide more information for those of us who don't have the book.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Question: Suppose we have the following class in the file /my/directory/named/A/Bird.java
Which of the answer options replace the INSERT CODE HERE when added independently if we compile from /my/directory?
INSERT CODE HERE
public class Bird { }
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
D) package named.A;
F) package A;
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
[OCP 21 book] | [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
-
1
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
99 little bugs in the code, 99 little bugs in the code.
Take one down, patch it around, 117 little bugs in the code.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
[OCP 21 book] | [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
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Jeanne Boyarsky wrote:No. We were intending to test basic use of javac. Moot point now since command line javac isn't on the 819 exam!
Apologies if this is mentioned somewhere else but can you please specify in detail which sections of your 815 book are not on the 819 exam anymore? I don't want to miss anything in my learning journey
Thank you very much!
-
1
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
[OCP 21 book] | [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
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
This is the question from Jeanne's OCP java SE 11 Programmer I book.
Question #14 in Chapter 1.
The question is:
Suppose we have the following class in the file /my/directory/named/A/Bird.java.
Which of the answer options replaces INSERT CODE HERE when added independently if we compile from /my/directory? (Choose all the apply.)
A. package my.directory.named.a;
B. package my.directory.named.A;
C. package named.a;
D. package named.A;
E. package a;
F. package A;
------------------------------------------------------
I believe the answer should be all the options A, B, C, D, E, and F.
I can use EITHER/ANY one of the packages and compile successfully under the /my/directory.
When compiling, it doesn't matter what the package name that Bird.java has.
See below:
/my/directory/ javac named/A/Bird.java
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Campbell Ritchie wrote:HL, please show us what instructions you used to compile those files.
The instruction that I used is:
calling javac named/A/Bird.java
under the directory /my/directory
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Also note that compiling regular classes at the command line is not on the 819. Compiling modules still is.
[OCP 21 book] | [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
| Consider Paul's rocket mass heater. |
-
Bookmark Topic
Watch Topic
- New Topic










