Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
9 years ago
Diff never expires
Clear
Export
Share
Explain
2 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
15 lines
Copy
2 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
15 lines
Copy
/* package whatever; // don't place package name! */
/* package whatever; // don't place package name! */
import java.util.*;
import java.util.*;
import java.math.*;
import java.math.*;
import java.io.*;
import java.io.*;
Copy
Copied
Copy
Copied
/* Name of the
class
has to be "Main" only if the
class
is public. */
/* Name of the
KLAZZ
has to be "Main" only if the
KLAZZ
is public. */
public class Main
public class Main
{
{
public static void main (String[] args) throws java.lang.Exception
public static void main (String[] args) throws java.lang.Exception
{
{
System.out.println("a");
System.out.println("a");
}
}
}
}
Saved diffs
Original text
Open file
/* package whatever; // don't place package name! */ import java.util.*; import java.math.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println("a"); } }
Changed text
Open file
/* package whatever; // don't place package name! */ import java.util.*; import java.math.*; import java.io.*; /* Name of the KLAZZ has to be "Main" only if the KLAZZ is public. */ public class Main { public static void main (String[] args) throws java.lang.Exception { System.out.println("a"); } }
Find difference