criyle/codenet-compile-errors huggingface dataset:
Language: Java

public class MyClass{
  public static void main(String[] args)
  {
		for(int i = 1; i < 10; i++)
        {
            System.out.println(i + "*" + i + "=" + i*i);
        }
  }   
}


Compiler output:
Main.java:1: error: class MyClass is public, should be declared in a file named MyClass.java
public class MyClass{
       ^
1 error
Language: Java

public class main{
  public static void main(String[] args)
  {
	for(int i = 1; i < 10; i++)
        {
            for(int j = 1; j < 10; j++)
            {
            	System.out.println(i + "x" + j + "=" + i*j);
            }
        }
  }   
}


Compiler output:
Main.java:1: error: class main is public, should be declared in a file named main.java
public class main{
       ^
1 error
Language: Java

public class QQ {
  2     public static void main(String[] args) {
  3         for(int i = 1; i < 10; i++) {
  4             for(int j = 1; j < 10; j++) {
  5                 System.out.println(i + "x" + j + "="  + i*j);
  6             }
  7         }
  8     }
  9 }


Compiler output:
Main.java:2: error: illegal start of type
  2     public static void main(String[] args) {
  ^
Main.java:3: error: not a statement
  3         for(int i = 1; i < 10; i++) {
  ^
Main.java:3: error: ';' expected
  3         for(int i = 1; i < 10; i++) {
   ^
Main.java:4: error: not a statement
  4             for(int j = 1; j < 10; j++) {
  ^
Main.java:4: error: ';' expected
  4             for(int j = 1; j < 10; j++) {
   ^
Main.java:5: error: not a statement
  5                 System.out.println(i + "x" + j + "="  + i*j);
  ^
Main.java:5: error: ';' expected
  5                 System.out.println(i + "x" + j + "="  + i*j);
   ^
Main.java:6: error: not a statement
  6             }
  ^
Main.java:6: error: ';' expected
  6             }
   ^
Main.java:7: error: not a statement
  7         }
  ^
Main.java:7: error: ';' expected
  7         }
   ^
Main.java:8: error: not a statement
  8     }
  ^
Main.java:8: error: ';' expected
  8     }
   ^
Main.java:9: error: illegal start of type
  9 }
  ^
14 errors
Language: Java

public class Main {
    public static void main(String[] args) {
        for(int i = 1; i < 10; i++) {
            for(int j = 1; j < 10; j++) {
                System.out.println(i + "x" + j "=" + i*j);
            }
        }
    }
}


Compiler output:
Main.java:5: error: ')' or ',' expected
                System.out.println(i + "x" + j "=" + i*j);
                                              ^
Main.java:5: error: not a statement
                System.out.println(i + "x" + j "=" + i*j);
                                                      ^
Main.java:5: error: ';' expected
                System.out.println(i + "x" + j "=" + i*j);
                                                        ^
3 errors
Language: Java

#include <stdio.h>

int main(void)
{
    int i;
    int j;
    for(i = 1; i < 10; i++) {
        for(j = 1; j < 10; j++) {
            printf("%d x %d = %d", i, j, i*j);
        }
    }
     return 0;
}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <stdio.h>
         ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
    int j;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
    ^
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
               ^
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
                       ^
Main.java:8: error: class, interface, enum, or record expected
        for(j = 1; j < 10; j++) {
                   ^
Main.java:8: error: class, interface, enum, or record expected
        for(j = 1; j < 10; j++) {
                           ^
Main.java:10: error: class, interface, enum, or record expected
        }
        ^
Main.java:13: error: class, interface, enum, or record expected
}
^
10 errors
Language: Java

#include <stdio.h>

int main(void)
{
    int i;
    int j;
    for(i = 1; i < 10; i++) {
        for(j = 1; j < 10; j++) {
            printf("%d x %d = %d\n", i, j, i*j);
        }
    }
     return 0;
}



Compiler output:
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <stdio.h>
         ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
    int j;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
    ^
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
               ^
Main.java:7: error: class, interface, enum, or record expected
    for(i = 1; i < 10; i++) {
                       ^
Main.java:8: error: class, interface, enum, or record expected
        for(j = 1; j < 10; j++) {
                   ^
Main.java:8: error: class, interface, enum, or record expected
        for(j = 1; j < 10; j++) {
                           ^
Main.java:10: error: class, interface, enum, or record expected
        }
        ^
Main.java:13: error: class, interface, enum, or record expected
}
^
10 errors
Language: Java

public class Main {
  2     public static void main(String[] args) {
  3         for(int i = 1; i < 10; i++) {
  4             for(int j = 1; j < 10; j++) {
  5                 System.out.print(i + "x" + j + "=" + i*j + "\n");
  6             }
  7         }
  8     }
  9 }


Compiler output:
Main.java:2: error: illegal start of type
  2     public static void main(String[] args) {
  ^
Main.java:3: error: not a statement
  3         for(int i = 1; i < 10; i++) {
  ^
Main.java:3: error: ';' expected
  3         for(int i = 1; i < 10; i++) {
   ^
Main.java:4: error: not a statement
  4             for(int j = 1; j < 10; j++) {
  ^
Main.java:4: error: ';' expected
  4             for(int j = 1; j < 10; j++) {
   ^
Main.java:5: error: not a statement
  5                 System.out.print(i + "x" + j + "=" + i*j + "\n");
  ^
Main.java:5: error: ';' expected
  5                 System.out.print(i + "x" + j + "=" + i*j + "\n");
   ^
Main.java:6: error: not a statement
  6             }
  ^
Main.java:6: error: ';' expected
  6             }
   ^
Main.java:7: error: not a statement
  7         }
  ^
Main.java:7: error: ';' expected
  7         }
   ^
Main.java:8: error: not a statement
  8     }
  ^
Main.java:8: error: ';' expected
  8     }
   ^
Main.java:9: error: illegal start of type
  9 }
  ^
14 errors
Language: Java

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;

class Main {
	
	
	void begin() throws IOException {
		int result=1;
		for(int m=1;m<10;m++){
			for(int n=1;n<10;n++){
				result=(m*n);
				System.out.printf(m+"+n+"=");
				System.out.printf(result+"\n");
			}
		}
	}

	void close() throws IOException {
		in.close();
	}

	Scanner in;

	public Main() throws FileNotFoundException {
		//in = new Scanner(new File("in.txt"));
		//in = new Scanner(new BufferedInputStream(System.in));
	}

	public static void main(String[] args) throws IOException {
		Main ljp = new Main();
		ljp.begin();
		ljp.close();
	}
}

Compiler output:
Main.java:14: error: unclosed string literal
				System.out.printf(m+"+n+"=");
				                          ^
1 error
Language: Java

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Scanner;

class Main {
	
	
	void begin() throws IOException {
		int result=1;
		for(int m=1;m<10;m++){
			for(int n=1;n<10;n++){
				result=(m*n);
				System.out.printf(m+"+n+"=");
				System.out.printf(result+"\n");
			}
		}
	}

	void close() throws IOException {
		in.close();
	}

	Scanner in;

	public Main() throws FileNotFoundException {
		//in = new Scanner(new File("in.txt"));
		in = new Scanner(new BufferedInputStream(System.in));
	}

	public static void main(String[] args) throws IOException {
		Main ljp = new Main();
		ljp.begin();
		ljp.close();
	}
}

Compiler output:
Main.java:15: error: unclosed string literal
				System.out.printf(m+"+n+"=");
				                          ^
1 error
Language: Java

import java.util.ArrayList;
public class Main2 {
	public static void main(String args[]){
		ArrayList<Integer> a=new <Integer>ArrayList();
		for(int i=1;i<=9;i++){
			for(int j=1;j<=9;j++){
				System.out.printf("%dx%d=%d\n",i,j,i*j);
			}
		}
		
	}
}

Compiler output:
Main.java:2: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Language: Java

import java.util.*;
public class Main2 {
	public static void main(String args[]){
		List <Integer> a=new <Integer>ArrayList();
		for(int i=1;i<=9;i++){
			for(int j=1;j<=9;j++){
				System.out.printf("%dx%d=%d\n",i,j,i*j);
			}
		}
		
	}
}

Compiler output:
Main.java:2: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Language: Java

import java.util.*;
public class Main2 {
	public static void main(String args[]){
		ArrayList<Integer>[] a;
		a=new ArrayList[10];
		a[1]=new ArrayList<Integer>();
		a[1].add(3);
		for(int i=1;i<=9;i++){
			for(int j=1;j<=9;j++){
				System.out.printf("%dx%d=%d\n",i,j,i*j);
			}
		}
		
	}
}

Compiler output:
Main.java:2: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Language: Java

import java.util.*;
public class Main2{
	public static void main(String args[]){
		List<Integer>[] a;
		int b=6;
		a=new ArrayList[10];
		a[1]=new ArrayList<Integer>();
		a[1].add(b);
		for(int i=1;i<=9;i++){
			for(int j=1;j<=9;j++){
				System.out.printf("%dx%d=%d\n",i,j,i*j);
			}
		}
		
	}
}

Compiler output:
Main.java:2: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2{
       ^
Note: Main.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Language: Java

class Main{
    public static void main(String[] a){
         for(int i=1;i<=9;i++){
         for(int j=1;j<=9;j++){
System.out.println(i+"x"+j+"="+(i*j))
         }
         }
    }
}

Compiler output:
Main.java:5: error: ';' expected
System.out.println(i+"x"+j+"="+(i*j))
                                     ^
1 error
Language: Java


public class QQ {
	public static void main(String args[]){
		int i,j;
		
		for(i = 1; i < 10; i++){
			for(j = 1; j < 10; j++){
				System.out.println(i + "x" + j);
			}
		}
	}
}

Compiler output:
Main.java:2: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java


public class Test {
	public static void main(String args[]){
		int i,j;
		
		for(i = 1; i < 10; i++){
			for(j = 1; j < 10; j++){
				System.out.println(i + "x" + j);
			}
		}
	}
}

Compiler output:
Main.java:2: error: class Test is public, should be declared in a file named Test.java
public class Test {
       ^
1 error
Language: Java

class Main {
    public static void main(String[] args( {
        for(int i = 1; i < 10; i++) {
            for(int j = 1; j < 10; j++) {
                System.out.println(i + "*" + j + "=" + (i*j)):
            }
        }
    }
}

Compiler output:
Main.java:2: error: ',', ')', or '[' expected
    public static void main(String[] args( {
                                         ^
Main.java:5: error: ';' expected
                System.out.println(i + "*" + j + "=" + (i*j)):
                                                             ^
2 errors
Language: Java

class Main {
    public static void main(String[] args) {
        for(int i = 1; i < 10; i++) {
            for(int j = 1; j < 10; j++) {
                System.out.println(i + "*" + j + "=" + (i*j)):
            }
        }
    }
}

Compiler output:
Main.java:5: error: ';' expected
                System.out.println(i + "*" + j + "=" + (i*j)):
                                                             ^
1 error
Language: Java

class Main {
    public static void main(String[] args) {

        for (i = 1; i <= 9; i++) {
            for(j = 1; j<=9; j++) {
                System.out.println(i + "+" j + "=" + i * j);
            }
        }
    }
}

Compiler output:
Main.java:6: error: ')' or ',' expected
                System.out.println(i + "+" j + "=" + i * j);
                                          ^
Main.java:6: error: not a statement
                System.out.println(i + "+" j + "=" + i * j);
                                                   ^
Main.java:6: error: ';' expected
                System.out.println(i + "+" j + "=" + i * j);
                                                          ^
3 errors
Language: Java

for(var i=1; i < 10; i++){
for(var j=1; j < 10; j++){
console.log("%dx%d=%d\n",i,j,i*j)
}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
for(var i=1; i < 10; i++){
^
Main.java:1: error: class, interface, enum, or record expected
for(var i=1; i < 10; i++){
             ^
Main.java:1: error: class, interface, enum, or record expected
for(var i=1; i < 10; i++){
                     ^
Main.java:2: error: class, interface, enum, or record expected
for(var j=1; j < 10; j++){
             ^
Main.java:2: error: class, interface, enum, or record expected
for(var j=1; j < 10; j++){
                     ^
5 errors
Language: Java

// Created by bisuk on 2014/09/18.
//
public class PC0000
{
	public static void main(String[] args)
	{
		for(int j=0;j<10;j++){
			for(int i=0;i<10;i++){
				//System.out.println("%dx%d=%d",i,j,i*j);
				System.out.println(j+"x"+i+"="+(i*j));
			}
		}
	}
}

/*
	> javac xxx.java
	> java xxx
*/

Compiler output:
Main.java:3: error: class PC0000 is public, should be declared in a file named PC0000.java
public class PC0000
       ^
1 error
Language: Java

package tubo028.net;

public class Procon {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            for(int j=0;j<10;j++){
                System.out.printf("%dx%d=%d\n", i,j,i*j);
            }
        }
    }
}

Compiler output:
Main.java:3: error: class Procon is public, should be declared in a file named Procon.java
public class Procon {
       ^
1 error
Language: Java

class Main{
    public static void main(String[] a){

        for(int i=1;i<=9;i++){
            for(int j=1;j<=9;j++){
                System.out.println(i+"x"+j"="+i*j);
            }
        }
    }
}

Compiler output:
Main.java:6: error: ')' or ',' expected
                System.out.println(i+"x"+j"="+i*j);
                                          ^
Main.java:6: error: not a statement
                System.out.println(i+"x"+j"="+i*j);
                                               ^
Main.java:6: error: ';' expected
                System.out.println(i+"x"+j"="+i*j);
                                                 ^
3 errors
Language: Java


public class Volume0 {
	public static void main(String[] args) {
		for (int a=1; a <= 9; a++) {
			{
			for (int b=1; b <= 9; b++)
				System.out.println(a+"x"+b+"="+(a*b));
				
			}
		}
	}

}

Compiler output:
Main.java:2: error: class Volume0 is public, should be declared in a file named Volume0.java
public class Volume0 {
       ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
    	int a,b;
    	for (a=1; a<10; a++) {
    		for (b=1; b<10; b++) {
     		System.out.println(a+"x"+b+"="+a*b);
    	}
   }
}

Compiler output:
Main.java:9: error: reached end of file while parsing
}
 ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
    	int a,b;
    	for (a=1; a<10; a++) {
    		for (b=1; b<10; b++) {
     		System.out.println(a+"x"+b+"="+a*b);
             }
    	}
    }
}

Compiler output:
Main.java:3: error: variable a is already defined in method main(String[])
    	int a,b;
    	    ^
1 error
Language: Java

class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        for(int i=1;i<=9;i++){
            for(int j=1;j<=9;j++){
                System.out.printf("%dx%d=%d\n",i,j,i*j);
            }
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        Scanner scan = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner scan = new Scanner(System.in);
                           ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public static void main(String[] args){
	for(int i = 1; i <= 9; i++){
	    for(int j = 1; j <= 9; j++){
		System.out.println(i + "x" + j + "=" + i*j);
	    }
	}
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Main
{
 public static void main(String[] av)
 {
for ( int i = 1; i <=9; i++ )
{
for ( int j = 1; j <=9; j++ )
{
System.out.println(i+"x"+j+"="+i*j)
}
}
}
}

Compiler output:
Main.java:9: error: ';' expected
System.out.println(i+"x"+j+"="+i*j)
                                   ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
		int[] num1 = {1,2,3,4,5,6,7,8,9};
		int[] num2 = {1,2,3,4,5,6,7,8,9};
		
		for(int a: num1){
			for(int b: num2){
				System.out.println(a+"x"+b+"="+kuku(a,b));
			}
    }
}
	public static int kuku(int a,int b){
		return a*b;
	}
}

Compiler output:
Main.java:6: error: variable a is already defined in method main(String[])
		for(int a: num1){
		        ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
for(int i=0;i<9;i;+){
System.out.print(i+"x"+i+"="+i*i);

    }
}

Compiler output:
Main.java:3: error: not a statement
for(int i=0;i<9;i;+){
                ^
Main.java:3: error: ')' expected
for(int i=0;i<9;i;+){
                 ^
Main.java:3: error: illegal start of expression
for(int i=0;i<9;i;+){
                   ^
Main.java:3: error: not a statement
for(int i=0;i<9;i;+){
                  ^
Main.java:7: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

public class aizu {
    public static void main(String[] a) {
    		for (int i = 1; i < 10; i++) {
    			for (int j = 1; j < 10; j++) {
    				System.out.println(i + "x" + j + "=" + i*j);
    			}
    		}
    }
}

Compiler output:
Main.java:1: error: class aizu is public, should be declared in a file named aizu.java
public class aizu {
       ^
1 error
Language: Java

import java.io.PrintWriter;

class Main{
    public static void main(String[] a) throw IOException {
        PrintWriter out = new PrintWriter(System.out);
        for(int x: rangeClosed(9)) {
            for(int y: rangeClosed(9)) {
                out.println(x + "x" + y + "=" + x*y);
            }
        }

        out.flush();
    }

    private int[] rangeClosed(int end) {
        int[] array = new int[end];
        int i = 1;
        for(int a: array) {
            a = i;
            i++;
        }

        return array;
    }
}

Compiler output:
Main.java:4: error: ';' expected
    public static void main(String[] a) throw IOException {
                                       ^
1 error
Language: Java

public class qq{
		public static void main(String argv[]) {
				for(int i = 1;i<10;i++){
						for (int j =1;j<10;j++){
								int k = i * j;
								System.out.print(i + "x" +j+" = "+ k+"\n");
						}
				}
		}
}

Compiler output:
Main.java:1: error: class qq is public, should be declared in a file named qq.java
public class qq{
       ^
1 error
Language: Java

public class Helloworld {
		public static void main(String[] args){
			for(int i=1; i<10; i++){
				for(int j=1; j<10; j++){
					System.out.println(i +"x" +j +"=" +i*j);
				}
					
			}
		}
}

Compiler output:
Main.java:1: error: class Helloworld is public, should be declared in a file named Helloworld.java
public class Helloworld {
       ^
1 error
Language: Java

public class QQ {

	public static void main(String[] args) {
		for (int i = 1; i <= 9; i++)
			for (int j = 1; j <= 9; j++)
				System.out.println(i + "x" + j + "=" + i * j);
	}
}

Compiler output:
Main.java:1: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   for(x = 1; x >= 9; x++){
    for(y = 1; y >= 9; y++){
   System.out.println(x+"+"+y+"="x*y);
   }
   }
   }
}

Compiler output:
Main.java:6: error: ')' or ',' expected
   System.out.println(x+"+"+y+"="x*y);
                                 ^
Main.java:6: error: not a statement
   System.out.println(x+"+"+y+"="x*y);
                                  ^
Main.java:6: error: ';' expected
   System.out.println(x+"+"+y+"="x*y);
                                    ^
3 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   for(x = 1; x >= 9; x+1){
    for(y = 1; y >= 9; y+1){
   System.out.println(x+"+"+y+"="+x*y);
   }
   }
   }
}

Compiler output:
Main.java:4: error: not a statement
   for(x = 1; x >= 9; x+1){
                       ^
Main.java:5: error: not a statement
    for(y = 1; y >= 9; y+1){
                        ^
2 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   for(x = 1; x <= 9; x+1){
    for(y = 1; y <= 9; y+1){
   System.out.println(x+"+"+y+"="+x*y);
   }
   }
   }
}

Compiler output:
Main.java:4: error: not a statement
   for(x = 1; x <= 9; x+1){
                       ^
Main.java:5: error: not a statement
    for(y = 1; y <= 9; y+1){
                        ^
2 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y,z;
   for(x = 0; x <= 9; ++x){
    for(y = 0; y <= 9; ++y){
   z=x*y
   System.out.println(x+"x"+y+"="+z);
   }
   }
   }
}

Compiler output:
Main.java:6: error: ';' expected
   z=x*y
        ^
1 error
Language: Java

class Main{
   public static void main(String[] args){
      int x,y,z;
   x = 0;
   y = 0;
   while(x <= 9){
   ++x
    while(y <= 9){
   ++y
   System.out.println(x+"x"+y"="+x*y);
   }
   }
}
}

Compiler output:
Main.java:7: error: ';' expected
   ++x
      ^
Main.java:9: error: ';' expected
   ++y
      ^
Main.java:10: error: ')' or ',' expected
   System.out.println(x+"x"+y"="+x*y);
                             ^
Main.java:10: error: not a statement
   System.out.println(x+"x"+y"="+x*y);
                                  ^
Main.java:10: error: ';' expected
   System.out.println(x+"x"+y"="+x*y);
                                    ^
5 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y,z;
   x = 0;
   y = 0;
   while(x <= 9){
   ++x;
    while(y <= 9){
   ++y;
   System.out.println(x+"x"+y"="+x*y);
   }
   }
}
}

Compiler output:
Main.java:10: error: ')' or ',' expected
   System.out.println(x+"x"+y"="+x*y);
                             ^
Main.java:10: error: not a statement
   System.out.println(x+"x"+y"="+x*y);
                                  ^
Main.java:10: error: ';' expected
   System.out.println(x+"x"+y"="+x*y);
                                    ^
3 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   for(x=0; x<10; ++x){
    for(y=0; x<10; ++y){
   System.out.print(x+"x"+y+"="+x*y\n);
   }
   }
}
}

Compiler output:
Main.java:6: error: illegal character: '\'
   System.out.print(x+"x"+y+"="+x*y\n);
                                   ^
Main.java:6: error: not a statement
   System.out.print(x+"x"+y+"="+x*y\n);
                                    ^
Main.java:6: error: ';' expected
   System.out.print(x+"x"+y+"="+x*y\n);
                                     ^
3 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   for(x=0; x<10; ++x){
    for(y=0; x<10; ++y){
   System.out.print(x+"x"+y+"="+x*y \n);
   }
   }
}
}

Compiler output:
Main.java:6: error: illegal character: '\'
   System.out.print(x+"x"+y+"="+x*y \n);
                                    ^
Main.java:6: error: not a statement
   System.out.print(x+"x"+y+"="+x*y \n);
                                     ^
Main.java:6: error: ';' expected
   System.out.print(x+"x"+y+"="+x*y \n);
                                      ^
3 errors
Language: Java

class Main{
   public static void main(String[] args){
      int x,y;
   y=1;
do{
   for(x=0; x<10; ++x){
   System.out.println(y+"x"+x+"="+x*y);
   }
   ++y
   }while(y<10);
}
}

Compiler output:
Main.java:9: error: ';' expected
   ++y
      ^
1 error
Language: Java

class Main{
    public static void main(String[] a){

int i,j, k;
		for(i=1; i<=9; ){
			for(j=1; j<=9; j++){
				k = i*j;
				System.out.println(i + "x" + j + "=" + k);	
			
			}
	
	i++; }	
	}    
}
}

Compiler output:
Main.java:15: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

package aoj;

public class QQ {
	public static void main(String[] args) {
		for (int i = 1; i <= 9; i++) {
			for (int j = 1; j <= 9; j++) {
				System.out.printf("%dx%d=%d\n", i, j, i*j);
			}
		}
	}
}

Compiler output:
Main.java:3: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

class Main{
    public static void main(String args[]){
        Qq q = new Qq(9);
        q.outputQQ();
    }
}

class Qq{
    int wide;

    Qq(int w){
        wide = w;
    }
    
    void outputQQ(){
        for (int i = 1; i <= w; i ++){
            for(int j = 1; j <= w;j ++) {
                System.out.println(i*j);
            }
        }
    }
}

Compiler output:
Main.java:16: error: cannot find symbol
        for (int i = 1; i <= w; i ++){
                             ^
  symbol:   variable w
  location: class Qq
Main.java:17: error: cannot find symbol
            for(int j = 1; j <= w;j ++) {
                                ^
  symbol:   variable w
  location: class Qq
2 errors
Language: Java

import java.io.*;

class Main{
    public static void main(String args[]){
        Qq q = new Qq(9);
        q.outputQQ();
    }
}

class Qq{
    int wide;

    Qq(int w){
        wide = w;
    }
    
    void outputQQ(){
        for (int i = 1; i <= w; i ++){
            for(int j = 1; j <= w;j ++) {
                System.out.println(i*j);
            }
        }
    }
}

Compiler output:
Main.java:18: error: cannot find symbol
        for (int i = 1; i <= w; i ++){
                             ^
  symbol:   variable w
  location: class Qq
Main.java:19: error: cannot find symbol
            for(int j = 1; j <= w;j ++) {
                                ^
  symbol:   variable w
  location: class Qq
2 errors
Language: Java

class Main{
    public static void main(String[] a){
    	
    	
    	for(int i=1; i<10; i++){
    		for(int j=1; j<10; j++){
    			System.out.println(i + "x" j + "=" + i*j );
    		}
    	}
    	
    	
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
    			System.out.println(i + "x" j + "=" + i*j );
    			                          ^
Main.java:7: error: not a statement
    			System.out.println(i + "x" j + "=" + i*j );
    			                                   ^
Main.java:7: error: ';' expected
    			System.out.println(i + "x" j + "=" + i*j );
    			                                        ^
3 errors
Language: Java

public class Kuku {

	public static void main(String[] args) {

		for (int i = 1; i < 10; i++) {
			for (int j = 1; j < 10; j++) {
				System.out.println(i + "x" + j + "=" + i * j);
			}
		}
	}
}

Compiler output:
Main.java:1: error: class Kuku is public, should be declared in a file named Kuku.java
public class Kuku {
       ^
1 error
Language: Java

public class kuku{
 public static void main(String args[]){
  for(int i=1;i<10;i++){
   for(int j=1;j<10;j++){
    System.out.println(i+"x"+j+"="+i*j);
   }
  }
 }
}

Compiler output:
Main.java:1: error: class kuku is public, should be declared in a file named kuku.java
public class kuku{
       ^
1 error
Language: Java

public class Main {

   public static void main(String[] args) {
     for (int i = 1; i =< 9; i++) {
       for (int n = 1; n => 9; n++) {
            System.out.println(i + "x" + n + "=" + ( i * n));
          }

}

Compiler output:
Main.java:4: error: illegal start of type
     for (int i = 1; i =< 9; i++) {
                          ^
Main.java:4: error: ')' expected
     for (int i = 1; i =< 9; i++) {
                           ^
Main.java:4: error: ';' expected
     for (int i = 1; i =< 9; i++) {
                                ^
Main.java:5: error: illegal start of expression
       for (int n = 1; n => 9; n++) {
                          ^
Main.java:9: error: reached end of file while parsing
}
 ^
5 errors
Language: Java

public class P_0001 {

  public static void main(String[] args) {
    int n = 9;

    for (int i = 1; i <= n; i++){
      for (int j = 1; j <= n; j++){
        System.out.println(i + "x" + j + "=" + i * j);
      }
    }

  }

}

Compiler output:
Main.java:1: error: class P_0001 is public, should be declared in a file named P_0001.java
public class P_0001 {
       ^
1 error
Language: Java

public class P_0000 {
  
  public static void main(String[] args) {
    for (int i = 1; i <= 9; i++){
      for (int j = 1; j <= 9; j++){
        System.out.println(i+"x"+j+"="+ i*j);
      }
    }
  }

}

Compiler output:
Main.java:1: error: class P_0000 is public, should be declared in a file named P_0000.java
public class P_0000 {
       ^
1 error
Language: Java

public class QQ {

	/**
	 * 
	 * ????????????????????¨?????????????????°??????
	 */
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		for(int i = 1;i <= 9; i++) {
			for(int j = 1;j <= 9; j++) {
				int answer = i * j;
				System.out.println(i+"x"+j+"="+answer);
			}
				
		}
	}

}

Compiler output:
Main.java:1: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		for(int i = 1;i <= 9; i++) {
			for(int j = 1;j <= 9; j++) {
				int answer = i * j;
				System.out.println(i+"x"+j+"="+answer);
			}
				
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java


public class QQ {

	/**
	 * 
	 * ????????????????????¨?????????????????°??????
	 */
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		for(int i = 1;i <= 9; i++) {
			for(int j = 1;j <= 9; j++) {
				int answer = i * j;
				System.out.println(i+"x"+j+"="+answer);
			}
				
		}
	}

}

Compiler output:
Main.java:2: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

public class Test{
    public static void main(String[] args){
	int i,j;
	for(i=1;i<10;i++){
	    for(j=1;j<10;j++){
		System.out.println(i+"x"+j+"="+(i*j));
	    }
	}
    }
}

Compiler output:
Main.java:1: error: class Test is public, should be declared in a file named Test.java
public class Test{
       ^
1 error
Language: Java

int x, y;
for (x=1;x<=9;x++) {
  for (y=1;y<=9;y++) {
    System.out.println(x + "x" + y + "=" + (x * y));
  }  
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
int x, y;
^
Main.java:2: error: class, interface, enum, or record expected
for (x=1;x<=9;x++) {
^
Main.java:2: error: class, interface, enum, or record expected
for (x=1;x<=9;x++) {
         ^
Main.java:2: error: class, interface, enum, or record expected
for (x=1;x<=9;x++) {
              ^
Main.java:3: error: class, interface, enum, or record expected
  for (y=1;y<=9;y++) {
           ^
Main.java:3: error: class, interface, enum, or record expected
  for (y=1;y<=9;y++) {
                ^
Main.java:5: error: class, interface, enum, or record expected
  }  
  ^
7 errors
Language: Java

public class Ques0000 {
	public static void main(String[] args) {
		for(int i = 1; i <= 9; i++) {
			for(int j = 1; j <= 9; j++) {
				System.out.printf("%dx%d=%d\n", i, j, i*j);
			}
		}
	}
}

Compiler output:
Main.java:1: error: class Ques0000 is public, should be declared in a file named Ques0000.java
public class Ques0000 {
       ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
        for(int i = 1;i < 10;i++){
           for(int j = 1;j < 10;j+){
              int k = i*j;
              System.out.println(i+"??"+j+"="+k);
           }
        }
    }
}

Compiler output:
Main.java:4: error: illegal start of expression
           for(int j = 1;j < 10;j+){
                                  ^
Main.java:4: error: not a statement
           for(int j = 1;j < 10;j+){
                                 ^
2 errors
Language: Java

class Qq{
    public static void main(String args[]){
        for(int i = 1;i < 10;i++){
            for(int j = 1;j < 10;j++){
                int k = i*j;
                System.out.println(i+"*"+j+"="+k);
            }
        }
    }

Compiler output:
Main.java:9: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

class Qq{
    public static void main(String args[]){
        for(int i = 1;i < 10;i++){
            for(int j = 1;j < 10;j++){
                int k = i*j;
                System.out.println(i+"x"+j+"="+k);
            }
        }
    }

Compiler output:
Main.java:9: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

class Main{
    public static void main(String args[]){
        for(int i = 1;i < 10;i++){
            for(int j = 1;j < 10;j++){
                int k = i*j;
                System.out.println(i+"x"+j+"="+k);
            }
        }
    }
]

Compiler output:
Main.java:10: error: illegal start of type
]
^
Main.java:10: error: reached end of file while parsing
]
 ^
2 errors
Language: Java

class Main{
    public static void main(String[] a){

    for (int i = 1; i <= 9; i++){
       for (int j = 1; j <= 9; j++){
          int a = i * j;
          System.out.prinltn(i + "x" + j + "=" a)
       }
    }
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
          System.out.prinltn(i + "x" + j + "=" a)
                                              ^
Main.java:7: error: not a statement
          System.out.prinltn(i + "x" + j + "=" a)
                                               ^
Main.java:7: error: ';' expected
          System.out.prinltn(i + "x" + j + "=" a)
                                                ^
3 errors
Language: Java

class Main{
    public static void main(String[] a){
 
    for (int i = 1; i <= 9; i++){
       for (int j = 1; j <= 9; j++){
          int a = i * j;
          System.out.prinltn(i + "x" + j + "=" a);
       }
    }
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
          System.out.prinltn(i + "x" + j + "=" a);
                                              ^
Main.java:7: error: not a statement
          System.out.prinltn(i + "x" + j + "=" a);
                                               ^
Main.java:7: error: ';' expected
          System.out.prinltn(i + "x" + j + "=" a);
                                                ^
3 errors
Language: Java

class Main{
    public static void main(String[] a){
  
    for (int i = 1; i <= 9; i++){
       for (int j = 1; j <= 9; j++){
          int b = i * j;
          System.out.prinltn(i + "x" + j + "=" b);
       }
    }
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
          System.out.prinltn(i + "x" + j + "=" b);
                                              ^
Main.java:7: error: not a statement
          System.out.prinltn(i + "x" + j + "=" b);
                                               ^
Main.java:7: error: ';' expected
          System.out.prinltn(i + "x" + j + "=" b);
                                                ^
3 errors
Language: Java

class Main{
    public static void main(String[] args){
  
    for (int i = 1; i <= 9; i++){
       for (int j = 1; j <= 9; j++){
          int a = i * j;
          System.out.prinltn(i + "x" + j + "=" a);
       }
    }
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
          System.out.prinltn(i + "x" + j + "=" a);
                                              ^
Main.java:7: error: not a statement
          System.out.prinltn(i + "x" + j + "=" a);
                                               ^
Main.java:7: error: ';' expected
          System.out.prinltn(i + "x" + j + "=" a);
                                                ^
3 errors
Language: Java

class Main{
    public static void main(String[] args){
        for(i = 1; i < 10; i++){
            Systemout.println(i + "x" + i + "=" + (i*i));
        }g  
    }
}

Compiler output:
Main.java:5: error: not a statement
        }g  
         ^
Main.java:5: error: ';' expected
        }g  
          ^
2 errors
Language: Java

class Main{
    public static void main(String[] args){
        for(i = 1; i < 10; i++){
            System.out.println(i + "x" + i + "=" + (i*i));
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
            ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
                   ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
                           ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                               ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                         ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                                    ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                                      ^
  symbol:   variable i
  location: class Main
7 errors
Language: Java

class Main{
    public static void main(String[] a){
        for(i = 1; i < 10; i++){
            System.out.println(i + "x" + i + "=" + (i*i));
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
            ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
                   ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i = 1; i < 10; i++){
                           ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                               ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                         ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                                    ^
  symbol:   variable i
  location: class Main
Main.java:4: error: cannot find symbol
            System.out.println(i + "x" + i + "=" + (i*i));
                                                      ^
  symbol:   variable i
  location: class Main
7 errors
Language: Java

package Volume0;

public class Volume0_QQ {
	public static void main(String args[]) {
		for (int i = 1; i < 10; i++) {
			for (int j = 1; j < 10; j++) {
				System.out.println(i + "x" + j + "=" + (i * j));
			}
		}
	}
}

Compiler output:
Main.java:3: error: class Volume0_QQ is public, should be declared in a file named Volume0_QQ.java
public class Volume0_QQ {
       ^
1 error
Language: Java

public class Lesson1_1 {
	public static void main(String args[]){
		for(int n = 1; n < 10; n++){
			for(int r = 1; r < 10; r++){
				System.out.println(n + "x" + r + "=" + ( n * r ));
			}
		}
	}
}

Compiler output:
Main.java:1: error: class Lesson1_1 is public, should be declared in a file named Lesson1_1.java
public class Lesson1_1 {
       ^
1 error
Language: Java

import java.util.*

public class main {

  public static void main(String... args){
    IntStream.of(1,2,3,4,5,6,7,8,9).flatMap(i -> {
      IntStream.of(1*i, 2*i, 3*i, 4*i, 5*i, 6*i, 7*i, 8*i, 9*i)
    }).forEach(System.out::println);
  }

}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
Main.java:7: error: ';' expected
      IntStream.of(1*i, 2*i, 3*i, 4*i, 5*i, 6*i, 7*i, 8*i, 9*i)
                                                               ^
2 errors
Language: Java

public class kore {
    public static void main(String[] argc) {
	for (int i = 1; i < 10; i ++) {
	    for (int j = 1; j < 10; j ++) {
		System.out.println(i + "x" + j + "=" + i * j);
	    }
	}
    }
}

Compiler output:
Main.java:1: error: class kore is public, should be declared in a file named kore.java
public class kore {
       ^
1 error
Language: Java

public static void main(String[] args) {
		int i, j;
		for (i = 1; i < 10; i++) {
			for (j = 1; j < 10; j++) {
				System.out.println(i+"x"+j+"="+i*j);
			}
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Main{
    public static void main(String[] a){
        for(int i=1;i<10;i++){
            for(int j=1;j<10;j++){
                System.out.println(i+"*"+j+"="i*j);
            }
        }
    }
}

Compiler output:
Main.java:5: error: ')' or ',' expected
                System.out.println(i+"*"+j+"="i*j);
                                              ^
Main.java:5: error: not a statement
                System.out.println(i+"*"+j+"="i*j);
                                               ^
Main.java:5: error: ';' expected
                System.out.println(i+"*"+j+"="i*j);
                                                 ^
3 errors
Language: Java

class Main
{
    public static void main(String[] args) {
      for(int i=1; i < 10; i++) {
          for(int j=1; j < 10; j++) {
              System.out.println(i + "x" + j + "=" + (i*j));
      }
    }
}

Compiler output:
Main.java:9: error: reached end of file while parsing
}
 ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
      int[] a = {1,2,3,4,5,6,7,8,9};
      int[] b = a;
      for(int multiplicand:a){
        for(int multiple:b){
          System.out.println(multiplicand + "*" + multiple + "=" multiplicand*multiple);
        }
      }
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
          System.out.println(multiplicand + "*" + multiple + "=" multiplicand*multiple);
                                                                ^
Main.java:7: error: not a statement
          System.out.println(multiplicand + "*" + multiple + "=" multiplicand*multiple);
                                                                             ^
Main.java:7: error: ';' expected
          System.out.println(multiplicand + "*" + multiple + "=" multiplicand*multiple);
                                                                                      ^
3 errors
Language: Java

class Main{
    public static void main(String[] a){
      int[] a = {1,2,3,4,5,6,7,8,9};
      int[] b = a;
      for(int multiplicand:a){
        for(int multiple:b){
          System.out.println(multiplicand + "*" + multiple + "="+ multiplicand*multiple);
        }
      }
    }
}

Compiler output:
Main.java:3: error: variable a is already defined in method main(String[])
      int[] a = {1,2,3,4,5,6,7,8,9};
            ^
1 error
Language: Java

class Main{
    public static void main(String[] a){
      int[] b = {1,2,3,4,5,6,7,8,9};
      int[] c = a;
      for(int multiplicand:b){
        for(int multiple:c){
          System.out.println(multiplicand + "*" + multiple + "="+ multiplicand*multiple);
        }
      }
    }
}

Compiler output:
Main.java:4: error: incompatible types: String[] cannot be converted to int[]
      int[] c = a;
                ^
1 error
Language: Java

package sample;

public class Aizu {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		for (int i = 1; i<10 ;i++){
			for(int j = 1;j < 10 ;j++){
				
				System.out.println(i + "??" + j + "=" + (i*j) );
				
			}
		}		
	}

}

Compiler output:
Main.java:3: error: class Aizu is public, should be declared in a file named Aizu.java
public class Aizu {
       ^
1 error
Language: Java

package sample;

public class main {

	public static void main(String[] args) {

		for (int i = 1; i<10 ;i++){
			for(int j = 1;j < 10 ;j++){
				
				System.out.println(i + "??" + j + "=" + (i*j) );
				
			}
		}		
	}

}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

public static void main (String args[]) {
	for (int i=1; i<10; i++) {
	    for (int j=1; j<10; j++) {
		System.out.println (i+"x"+j+"="+(i*j));
	    }
	}
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main (String args[]) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Main{
    public static void main(String[] a){

        private int max = 9;
        for (int i = 1; i <= max; i++) {
           System.out.println(i + " x " + i + " = " + (ixi));
        }
    }
}

Compiler output:
Main.java:4: error: illegal start of expression
        private int max = 9;
        ^
Main.java:5: error: illegal start of type
        for (int i = 1; i <= max; i++) {
        ^
Main.java:5: error: <identifier> expected
        for (int i = 1; i <= max; i++) {
                         ^
Main.java:5: error: <identifier> expected
        for (int i = 1; i <= max; i++) {
                                ^
Main.java:5: error: <identifier> expected
        for (int i = 1; i <= max; i++) {
                                   ^
Main.java:9: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

import java.util.Scanner;

public class Tables{

     public static void main(String []args){
      int a, b, c, d;
 
     a = 1;
     b = 9;
     for (c = a; c <= b; c++) {
      
      for (d = 1; d < 10; d++) {
         System.out.println(c+"*"+d+" = "+(c*d));
      }
    }
     }
    
}

Compiler output:
Main.java:3: error: class Tables is public, should be declared in a file named Tables.java
public class Tables{
       ^
1 error
Language: Java

public class MyTables{

     public static void main(String []args)
     {
        int a, b, c, d;
 
    a = 1;
    b = 9;
 
    for (c = a; c <= b; c++) {
      
 
      for (d = 1; d < 10; d++) {
         System.out.println(c+"*"+d+" = "+(c*d));
      }
    }
        
     }
}

Compiler output:
Main.java:1: error: class MyTables is public, should be declared in a file named MyTables.java
public class MyTables{
       ^
1 error
Language: Java

public class QQ {
	public static void main(String[] args){
	
		for(int i=1; i<=9; i++){
			for(int j=1; j<=9; j++){
				System.out.println(i +"*" + j + "=" + i * j );
				
	}
				System.out.println();
		}
	}
}

Compiler output:
Main.java:1: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error