Exam 1z0-819 All QuestionsBrowse all questions from this exam
Question 206

Given:

What is the result?

    Correct Answer: B

    The code will fail to compile at line 9 because the method 'print()' in the class 'Greet' is private. Private methods are not accessible outside the class they belong to, even by instances of the containing nested class.

Discussion
OmnisumemOption: C

tested

d7bb0b2Option: C

c is correct print Hello wordl