Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

Bobby Kareer

Greenhorn
+ Follow
since Oct 12, 2020
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
1
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bobby Kareer



I have the java se 8 programmer II book and was wondering if it was just as good as the se 11 II guide to study for the 819 exam?
Apart from the JPMS and introduction of var are there any things that might be covered on the exam and not on the programmer II OCP certification prep book?

thanks
I am trying to understand why there is a compatibility error when checking against an interface type

code:


6 days ago
yes, I know.  hence my question about the proposed answer in the book:
answer given in book : A, B, C, E
I did not include [C] in my answer which seems to be correct if you run the jar command (don't see any -cp option)
Full question --

Which options are valid on the jar command without considering module options? (Choose all that apply.)

A)-c
B)-C
C)-cp
D)-d
E)-f
F)-p
Which options are valid on the jar command without considering module options? (Choose all that apply.)
answer given in book : A, B, C, E
I did not include [C] in my answer which seems to be correct if you run the jar command (don't see any -cp option)
another question clarification:

chapter 1: question 14 : Which options are valid on the jar command without considering module options? (Choose all that apply.)
answer given : A, B, C, E
I did not include [C] in my answer which seems to be correct if you run the jar command (don't see any -cp option)
thanks for the answer.  I guess the "intended" made me select this as a valid choice.  probably just overthinking it...
Hello,

Can you please clarify the answer to this question from the book:

Which of the following statements about error handling in Java are correct? (Choose all that apply.)

A)Checked exceptions are intended to be thrown by the JVM (and not the programmer).
B)Checked exceptions are required to be handled or declared.
C)Errors are intended to be thrown by the JVM (and not the programmer).
D)Errors are required to be caught or declared.
E)Runtime exceptions are intended to be thrown by the JVM (and not the programmer).
F)Runtime exceptions are required to be handled or declared.

the book says the answer is -  B, C
my assertion is that the answer is B, C and E
could you please clarify why E) is not a correct statement?

thanks
Bobby

I am using this book:
OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide
by Jeanne Boyarsky, Scott Selikoff