Given:
What is the result?
Given:
What is the result?
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.
tested
c is correct print Hello wordl