Multiple Choice Question

Quiz Guidelines

 

QID: 
440
Question: 

Given the following class, which statements can be inserted at line 1 without causing the code to fail compilation?

public class TestClass{
int a;
int b = 0;
static int c;
public void m(){
int d;
int e = 0;    // Line 1
}
}

Select 4 options

A. a++;
B. b++;
C. c++;
D. d++;
E. e++;

Q&A Set: