Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-819 Topic 8 Question 77 Discussion

Actual exam question for Oracle's 1Z0-819 exam
Question #: 77
Topic #: 8
[All 1Z0-819 Questions]

Given:

What is the expected result of javac?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Tyisha
4 days ago
Error: Could not find or load main class Mycar.class? Looks like someone forgot to define the main method. Rookie mistake!
upvoted 0 times
...
Aretha
10 days ago
Aha, expected import java.lang? That's a classic mistake. I better double-check my syntax.
upvoted 0 times
...
Leonora
16 days ago
I've got a good feeling about option B. Can't go wrong with a clean compile!
upvoted 0 times
...
Rebeca
21 days ago
But why do you think that? Can you explain your rationale?
upvoted 0 times
...
German
21 days ago
Hmm, no package declaration? This could be tricky. Let me think this through carefully.
upvoted 0 times
Jody
2 days ago
User1: I think option A is the correct answer.
upvoted 0 times
...
...
Camellia
22 days ago
I disagree, I believe the answer is C) javac fails to compile the class and prints the error message, C:\\workspace4\\Mycar.java:1:error: expected import java.lang
upvoted 0 times
...
Rebeca
27 days ago
I think the answer is B) javac compiles Mycar.java without errors or warnings.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77