Search found 2 matches
- Sun Jun 17, 2018 7:44 pm
- Forum: Help with my program
- Topic: List lands = new ArrayList();
- Replies: 4
- Views: 109092
Re: List lands = new ArrayList();
thank you very much, i did it.
- Sun Jun 17, 2018 1:07 pm
- Forum: Help with my program
- Topic: List lands = new ArrayList();
- Replies: 4
- Views: 109092
List lands = new ArrayList();
Hi, what's the error here?? public class countries { public static void main(String[] args) { List lands = new ArrayList(); lands.add("germany"); lands.add("austria"); lands.add("poland"); lands.add("luxomburg"); lands.add("switzerland"); System.out.println(lands.toString()); } } -------------------...