language: Erlang (erl-5.7.3)
date: 142 days 10 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import java.util.*;
class a{
static public  void main(String args[]){
boolean b1=true;
boolean b2=false;
boolean b3=(10>2)?true:false;
if(b3){
System.out.println("hi1"+b1);
System.out.println("hi2"+b2);
System.out.println("hi"+b3);
}
/*date day;
if (day <= 5) {   // 1..5 are weekdays
  System.out.println("Hi ho, hi ho, it's off to school we go...");
  if (day = 1) {  // Something extra for Mon
    System.out.println("It's not the weekend any more!");
  }
} else {          // 6..7, it's the weekend
  System.out.println("Hit the snooze button now!");
}
*/
Date d1=new Date();
System.out.println("d1"+d1.toString());
 
}
}
 
./prog.erl:18: unterminated atom starting with 's the weekend\n  '
./prog.erl:27: no module definition