1.

For the code snippet given below, which of the following statements is valid?

A. It will print string "Hello" on the console.
B. Name Generic cannot be used as a class name because it's a keyword.
C. Compiler will give an error.
D. Member Field of class Generic is not accessible directly.
Answer» B. Name Generic cannot be used as a class name because it's a keyword.


Discussion

No Comment Found