多选题
Given the SampleClass, when the following code segment is executed,
what is the value of the instance variable size?
SampleClass
sampleClass = new SampleClass(5);
public class SampleClass
{
private int size;
public SampleClass(int
size) {
size = size;
}
}
- A. 0
- B. 1
- C. 5
- D. Compiler error
- E. Runtime error