Identify two Java reserved words.
Given:

What is the result?
Given the code fragment:

Which two code fragments are valid at line 2?
Given:

What is the result?
Given:

Which statement, when inserted at line n1, enables the Course class to compile?
Given the code:

Which code fragment, when inserted at line n1, enables the code to print sum is 30?
Given the code fragment:

What is the result?
Given the code fragment:

What is the result?
Given the code

What is the result?
Identify three advantages of object-oriented programming.