Expand|Select|Wrap|Line Numbers
- import java.util.*;
- public class Class1 {
- public static void main(String[] args) {
- Collection c;
- c.add("aaa");
- c.add("bbb");
- c.add("ccc");
- }
- }
i got this error:
java.lang.Error: Unresolved compilation problems:
The local variable c may not have been initialized
The local variable c may not have been initialized
The local variable c may not have been initialized