fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class Weather
  8. {
  9. Weather(int a, int b, String c)
  10. {
  11.  
  12. }
  13. }
  14.  
  15. class Ideone
  16. {
  17. public static void main (String[] args) throws java.lang.Exception
  18. {
  19. List<Weather> daysoff = new ArrayList<Weather>();
  20. Weather we = new Weather(11,11,"Cold");
  21. daysoff.add(we);
  22. }
  23. }
Success #stdin #stdout 0.05s 711168KB
stdin
Standard input is empty
stdout
Standard output is empty