Choose the correct option.
static final String school_Name = "Co-Ed School";Which of the following statements are valid for school_Name?
I. All objects of class Student share the same value of school_Name.
II. The value of school_Name cannot be changed during program execution.
III. The keywords static and final cannot be used together for a variable.- (a)Only I and II
- (b)Only II and III
- (c)Only I and III
- (d)Only III
Show answer
Answer
Correct option: (a)