Which of the following lines are valid declarations?
Select the three correct answers.
char a = '\u0061';
char 'a' = 'a';
char \u0061 = 'a';
ch\u0061r a = 'a';
ch'a'r a = 'a';
Given the following code within a method, which statement is true?
int a, b; b = 5;
Select the one correct answer.
Local variable a is not declared.
Local variable b is not declared.
Local variable a is declared but not initialized .
Local variable b is declared but not initialized.
Local variable b is initialized but not declared.
In which of these variable declarations will the variable remain uninitialized unless explicitly initialized?
Declaration of an instance variable of type int .
Declaration of a static variable of type float .
Declaration of a local variable of type float .
Declaration of a static variable of type Object .
Declaration of an instance variable of type int[] .