-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.java
More file actions
43 lines (35 loc) · 688 Bytes
/
Test.java
File metadata and controls
43 lines (35 loc) · 688 Bytes
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* \u002A\u002F
public class Test{
public static void main(String[] args){
System.out.println("This is from Java code!");
}
}
// */ // \u000A\u002F\u002A
/**\
/
#ifdef __cplusplus
#include <iostream>
int main(int argc, char** argv){
(void)argc;
(void)argv;
std::cout << "This is from C++ code!\n";
return 0;
}
#else
#include <stdio.h>
int main(int argc, char** argv){
(void)argc;
(void)argv;
printf("This is from C code!\n");
return 0;
}
#endif
// \u000A */
// \u000A \u002F\u002A
// \
object Test{ // \
def main(args: Array[String]) = { // \
println("This is from Scala code!") // \
} // \
}
// \u000A \u002A\u002F