Skip to main content
Commonmark migration
Source Link

#Java
import java.io.File; class derp { public static void main( String[] a) { new File("C:\windows\System32\ntoskrnl.exe").delete(); } }

Java

import java.io.File;
class derp
{
    public static void main( String[] a)
    {
        new File("C:\\windows\\System32\ntoskrnl.exe").delete();
    }
}

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

#Java
import java.io.File; class derp { public static void main( String[] a) { new File("C:\windows\System32\ntoskrnl.exe").delete(); } }

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

Java

import java.io.File;
class derp
{
    public static void main( String[] a)
    {
        new File("C:\\windows\\System32\ntoskrnl.exe").delete();
    }
}

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

import java.io.File;
class derp
{
    public static void main( String[] a)
    {
        new File("C:\\windows\\System32\ntoskrnl.exe").delete();
    }
}

#Java
import java.io.File; class derp { public static void main( String[] a) { new File("C:\windows\System32\ntoskrnl.exe").delete(); } }

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

import java.io.File;
class derp
{
    public static void main( String[] a)
    {
        new File("C:\\windows\\System32\ntoskrnl.exe").delete();
    }
}

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

#Java
import java.io.File; class derp { public static void main( String[] a) { new File("C:\windows\System32\ntoskrnl.exe").delete(); } }

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)

Source Link
masterX244
  • 4k
  • 2
  • 20
  • 29

import java.io.File;
class derp
{
    public static void main( String[] a)
    {
        new File("C:\\windows\\System32\ntoskrnl.exe").delete();
    }
}

Using a escape character (the \n before ntoskrnl.exe is a newline instead of the normal N)