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

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

Compiler output:
Main.java:1: error: class hello is public, should be declared in a file named hello.java
public class hello{
       ^
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

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:3: error: cannot find symbol
        for( int i=1; i<10;I++) {
                           ^
  symbol:   variable I
  location: class Main
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:8: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

object Main {
  def main(args: Array[String]): Unit = {
    for (i <- 1 to 9; j <- 1 to 9)
      println(i + "x" + j + "=" + i * j)
  }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
object Main {
^
Main.java:3: error: class, interface, enum, or record expected
    for (i <- 1 to 9; j <- 1 to 9)
                      ^
2 errors
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++) {
				if (i == 9 && j == 9) {
					System.out.print(i + "??" + j + "=" + (i * j));
				} else {
					System.out.println(i + "??" + j + "=" + (i * 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

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

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

package com.company;
import java.io.IOException;
public class kuku {
    public static void main (String[] args) throws IOException {

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

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

import java.io.IOException;
public class kuku {
    public static void main (String[] args) throws IOException {

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

Compiler output:
Main.java:2: 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) throws IOException {

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

Compiler output:
Main.java:1: error: class kuku is public, should be declared in a file named kuku.java
public class kuku {
       ^
Main.java:2: error: cannot find symbol
    public static void main (String[] args) throws IOException {
                                                   ^
  symbol:   class IOException
  location: class kuku
2 errors
Language: Java

package home.volume0;

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

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

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


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

public class Sample{
	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 Sample is public, should be declared in a file named Sample.java
public class Sample{
       ^
1 error
Language: Java

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



Compiler output:
Main.java:1: error: <identifier> expected
public class void main(String args[]){
            ^
Main.java:2: error: class, interface, enum, or record expected
for(int i = 1; i<= 9; i++){
               ^
Main.java:2: error: class, interface, enum, or record expected
for(int i = 1; i<= 9; i++){
                      ^
Main.java:3: error: class, interface, enum, or record expected
for(int j= 1;j<=9;j++){
             ^
Main.java:3: error: class, interface, enum, or record expected
for(int j= 1;j<=9;j++){
                  ^
Main.java:5: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

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



Compiler output:
Main.java:1: error: <identifier> expected
public class void main(String args[]){
            ^
Main.java:2: error: class, interface, enum, or record expected
	for(int i = 1; i<= 9; i++){
	               ^
Main.java:2: error: class, interface, enum, or record expected
	for(int i = 1; i<= 9; i++){
	                      ^
Main.java:3: error: class, interface, enum, or record expected
		for(int j= 1;j<=9;j++){
		             ^
Main.java:3: error: class, interface, enum, or record expected
		for(int j= 1;j<=9;j++){
		                  ^
Main.java:5: error: class, interface, enum, or record expected
		}
		^
6 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.printout(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

public class ex01 {		 
	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);
			}
		}
	}
}


Compiler output:
Main.java:1: error: class ex01 is public, should be declared in a file named ex01.java
public class ex01 {		 
       ^
1 error
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 + "*" + j +"="+ i*j);
			}
		}
	}



Compiler output:
Main.java:2: 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 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[] a){
	for(int i = 1; i<= 9; i++){
		for(int j= 1;j<=9;j++){
			System.out.printout(i+"x"+j+"="+i*j);
		}
	}

    }
}


Compiler output:
Main.java:5: error: cannot find symbol
			System.out.printout(i+"x"+j+"="+i*j);
			          ^
  symbol:   method printout(String)
  location: variable out of type PrintStream
1 error
Language: Java

	public static void main(String[] args) {
		for (int i = 0; i < 9; i++) {
			for (int j = 0; 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

	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: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] a) {
	              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

class Main{
    public static void main(String[] a){
      int x = 0;
      int y = 0;
      int num = 0;
      for(int i = 1; i < 9; i++){
        for(int j = 1; j < 9; j++){
          num = x * y;
          print(i + "x" + y + "y=" + num);
        }
      }
    }
}



Compiler output:
Main.java:9: error: cannot find symbol
          print(i + "x" + y + "y=" + num);
          ^
  symbol:   method print(String)
  location: class Main
1 error
Language: Java

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


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

import import java.io.*;

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


Compiler output:
Main.java:1: error: <identifier> expected
import import java.io.*;
      ^
1 error
Language: Java

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


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

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


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

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


Compiler output:
Main.java:1: error: <identifier> expected
import import java.io.*;
      ^
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:2: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:1: error: class M is public, should be declared in a file named M.java
public class M{public static void main(String[]a){int i=0,j;for(;i<9;){for(i++,j=0;j<9;){System.out.println(i+"x"+ ++j+"="+i*j);}}}}
       ^
1 error
Language: Java

class Main
{
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:8: error: reached end of file while parsing
}
 ^
1 error
Language: Java

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

Compiler output:
Main.java:10: error: illegal start of expression
    public static void main(String[] args) {
    ^
1 error
Language: Java

public class QQMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		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 QQMain is public, should be declared in a file named QQMain.java
public class QQMain {
       ^
1 error
Language: Java


public class QQ {
    public static void main(String[] argv) {
        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:2: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

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

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


public class main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ
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:2: 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) {
		// TODO ツ篠ゥツ督ョツ青カツ青ャツつウツづェツつスツδソツッツドツ・ツスツタツブ
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

public class A {
    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 A is public, should be declared in a file named A.java
public class A {
       ^
1 error
Language: Java

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

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

public class Main{
	public static void main(String[] s){
		for(int i=10;++i<100;){
			System.out.printf(i%10>0?"%dx%d=%d\n",i/10,i%10,i/10*(i%10):"");
		}
	}
}

Compiler output:
Main.java:4: error: : expected
			System.out.printf(i%10>0?"%dx%d=%d\n",i/10,i%10,i/10*(i%10):"");
			                                     ^
Main.java:4: error: ')' or ',' expected
			System.out.printf(i%10>0?"%dx%d=%d\n",i/10,i%10,i/10*(i%10):"");
			                                                           ^
2 errors
Language: Java

public class Main{
    p0000(){
	for(int i = 1; i < 10; i++)
	    for(int j = 1; j < 10; j++)
		System.out.println(Integer.toString(i) + "x" + Integer.toString(j)+"="+Integer.toString(i*j));
    }

    public static void main(String[] args){
	new p0000();
    }
}

Compiler output:
Main.java:2: error: invalid method declaration; return type required
    p0000(){
    ^
1 error
Language: Java

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

    public static void main(String[] args){
	new p0000();
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
	new p0000();
	    ^
  symbol:   class p0000
  location: class Main
1 error
Language: Java

import java.io.*;

public class Practice  {
	public static void main(String[] args)throws IOException {
		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: class Practice is public, should be declared in a file named Practice.java
public class Practice  {
       ^
1 error
Language: Java

public static void main(String[] args)throws IOException {
		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:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args)throws IOException {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

import java.io.*;

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

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

package test;

public class Test {

	
	public static void main(String[] args) {
		
		
		for(int x = 1; x < 10; x++) {
			for(int y = 1; y < 10; y++) {
				System.out.printf("%dx%d=%d\n", x, y, x * y);
			}
		}
	}
}

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

main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                  ^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                       ^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                                   ^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                                        ^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                                                                         ^
Main.java:1: error: class, interface, enum, or record expected
main(i,j){for(i=1;i<10;i++)for(j=1;j<10;j++)printf("%dx%d=%d\n",i,j,i*j);exit(0);}
                                                                                 ^
7 errors
Language: Java

#define For 


For GNU C++
#include <iostream>
using namespace std;
int main()
{
    int a,b;
    cin >> a >> b;
    cout << a+b << endl;
    return 0;
}

For GNU C
#include <stdio.h>
int main()
{
    int a,b;
    scanf("%d %d",&a, &b);
    printf("%d",a+b);
    return 0;
}â

For Java
import java.io.*;
import java.util.*;
public class Main
{
    public static void main(String args[]) throws Exception
    {
        Scanner cin=new Scanner(System.in);
        int a=cin.nextInt(),b=cin.nextInt();
        System.out.println(a+b);
    }
}

Compiler output:
Main.java:1: error: illegal character: '#'
#define For 
^
Main.java:1: error: class, interface, enum, or record expected
#define For 
        ^
Main.java:5: error: illegal character: '#'
#include <iostream>
^
Main.java:10: error: not a statement
    cin >> a >> b;
             ^
Main.java:11: error: not a statement
    cout << a+b << endl;
                ^
Main.java:7: error: unnamed classes are a preview feature and are disabled by default.
int main()
^
  (use --enable-preview to enable unnamed classes)
Main.java:15: error: class, interface, enum, or record expected
For GNU C
^
Main.java:16: error: illegal character: '#'
#include <stdio.h>
^
Main.java:20: error: class, interface, enum, or record expected
    scanf("%d %d",&a, &b);
    ^
Main.java:21: error: class, interface, enum, or record expected
    printf("%d",a+b);
    ^
Main.java:22: error: class, interface, enum, or record expected
    return 0;
    ^
Main.java:23: error: class, interface, enum, or record expected
}???
^
Main.java:27: error: class, interface, enum, or record expected
import java.util.*;
^
13 errors
Language: Java

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

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)
Main.java:8: error: reached end of file while parsing
        }
         ^
2 errors
Language: Java

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

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[] args) throws IOException{
		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:2: error: cannot find symbol
	public static void main(String[] args) throws IOException{
	                                              ^
  symbol:   class IOException
  location: class Main
1 error
Language: Java

	import java.util.*;

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

		}


	}

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


public class QQ {
	public static void main(String[] args) {
		printQQ();
	}
	public static void printQQ() {
		for(int i = 1; i <= 9; i++) {
			for(int j = 1; j <= 9; j++) {
				System.out.println(i + " * " + j + " = " + i * 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 QQ {
	public static void main(String[] args) {
		printQQ();
	}
	public static void printQQ() {
		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

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

public class v0000 {

	/**
	 * @param args
	 */
	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 v0000 is public, should be declared in a file named v0000.java
public class v0000 {
       ^
1 error
Language: Java

public class QQ {

	/**
	 * @param args
	 */
	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 QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

public class Problem1{

public static void main(String args[]){

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

}

}

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

public class AOJ {
	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 AOJ is public, should be declared in a file named AOJ.java
public class AOJ {
       ^
1 error
Language: Java

public class 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:4: error: ';' expected
          for(int j =1;j<10:j++){
                           ^
Main.java:4: error: ';' expected
          for(int j =1;j<10:j++){
                               ^
2 errors
Language: Java

public class QQ {

	/**
	 * @param args
	 */
	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 QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java

public class AOJ0000{
        public static void main(String[] args)throws Exception{
                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 AOJ0000 is public, should be declared in a file named AOJ0000.java
public class AOJ0000{
       ^
1 error
Language: Java

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

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

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

Compiler output:
Main.java:2: error: cannot find symbol
    public static void main(string[] a){
                            ^
  symbol:   class string
  location: class Main
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:3: error: illegal start of expression
		for(int i=1;i<=9;i+){
		                   ^
Main.java:3: error: not a statement
		for(int i=1;i<=9;i+){
		                  ^
2 errors
Language: Java

KLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOPASDFGHJKLZXCVBNM
1234567890QWERTYUIOP

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace supermanse
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = 1;
            int b = 1;
            int c;
            for (; ; )
            {
                c = a * b;
                Console.WriteLine("" + a + "x" + b + "=" + c + "");
                b++;
                if (b == 10) { a++; b = 1; }
                if (a == 10) { break; }
            }
        }
    }
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
using System;
^
  (use --enable-preview to enable unnamed classes)
Main.java:2: error: class, interface, enum, or record expected
using System.Collections.Generic;
^
Main.java:3: error: class, interface, enum, or record expected
using System.Linq;
^
Main.java:4: error: class, interface, enum, or record expected
using System.Text;
^
Main.java:6: error: class, interface, enum, or record expected
namespace supermanse
^
Main.java:25: error: class, interface, enum, or record expected
}
^
6 errors
Language: Java

public class Multiplation {
	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);
			}
		}
	}
}

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

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

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

    }
}

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

public class AOJ0000 {
  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 AOJ0000 is public, should be declared in a file named AOJ0000.java
public class AOJ0000 {
       ^
1 error
Language: Java


public class main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		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:2: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

import java.util.Scanner;


public class Pa {


	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:4: error: class Pa is public, should be declared in a file named Pa.java
public class Pa {
       ^
1 error
Language: Java



public class Pa {


	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:3: error: class Pa is public, should be declared in a file named Pa.java
public class Pa {
       ^
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

public class Pa
{


	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 Pa is public, should be declared in a file named Pa.java
public class Pa
       ^
1 error
Language: Java

class Main{
  public static void main(String[] args){
    printQQ();
  }
  
  static printQQ(){
    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:6: error: invalid method declaration; return type required
  static printQQ(){
         ^
1 error
Language: Java

	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, interface, enum, or record expected
	for (int i = 1; i < 10; i++){
	^
Main.java:1: error: class, interface, enum, or record expected
	for (int i = 1; i < 10; i++){
	                ^
Main.java:1: error: class, interface, enum, or record expected
	for (int i = 1; i < 10; i++){
	                        ^
Main.java:2: error: class, interface, enum, or record expected
			for (int j = 1; j < 10; j++) {
			                ^
Main.java:2: error: class, interface, enum, or record expected
			for (int j = 1; j < 10; j++) {
			                        ^
Main.java:4: error: class, interface, enum, or record expected
			}
			^
6 errors
Language: Java

public class Sample {
	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 Sample is public, should be declared in a file named Sample.java
public class Sample {
       ^
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: ')' or ',' expected
                System.out.println(i + "x" + j + "=" + (i * j);
                                                              ^
1 error
Language: Java


1
2
3
4
5
6
7
8
9
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:2: error: class, interface, enum, or record expected
1
^
1 error
Language: Java

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

Compiler output:
Main.java:3: error: variable x might not have been initialized
for(int x;x<=9;x++){
          ^
Main.java:4: error: variable y might not have been initialized
for(int y;y<=9;y++){
          ^
2 errors
Language: Java

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

Compiler output:
Main.java:3: error: variable i might not have been initialized
		for(int i;i<=9;i++){
		          ^
Main.java:4: error: variable j might not have been initialized
			for(int j;j<=9;j++){
			          ^
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: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

package com.tn;

public class milti {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		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 milti is public, should be declared in a file named milti.java
public class milti {
       ^
1 error
Language: Java

public class 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:1: error: class QQ is public, should be declared in a file named QQ.java
public class QQ {
       ^
1 error
Language: Java


public class aoj0000 {

	/**
	 * @param args
	 */
	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+"X"+j);
			}
		}
		
		

	}

}

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


public class aoj0001 {

	/**
	 * @param args
	 */
	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+"X"+j);
			}
		}
		
		

	}

}

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

package Experiment_1;

public class MatrixMultiplyThread extends Thread{
	private int R,C,Mod,Result;
	public boolean finish;
	public MatrixMultiplyThread() {
		super();
		finish = false;
	}
	public MatrixMultiplyThread(int r, int c, int mod) {
		super();
		R = r;
		C = c;
		Mod = mod;
		finish = false;
	}
	@Override
	public void run() {
		// TODO Auto-generated method stub
		super.run();
		finish = false;
		Result = 0;
		for (int i=0;i<MatrixMultiplyMain.M;++i)
			Result = (Result + MatrixMultiplyResourse.A.mat[R][i] * MatrixMultiplyResourse.A.mat[i][C]) % Mod;
		finish = true;
		MatrixMultiplyResourse.Sum++;
	}
	public int getResult() {
		return Result;
	}
}

Compiler output:
Main.java:3: error: class MatrixMultiplyThread is public, should be declared in a file named MatrixMultiplyThread.java
public class MatrixMultiplyThread extends Thread{
       ^
Main.java:23: error: cannot find symbol
		for (int i=0;i<MatrixMultiplyMain.M;++i)
		               ^
  symbol:   variable MatrixMultiplyMain
  location: class MatrixMultiplyThread
Main.java:24: error: package MatrixMultiplyResourse does not exist
			Result = (Result + MatrixMultiplyResourse.A.mat[R][i] * MatrixMultiplyResourse.A.mat[i][C]) % Mod;
			                                         ^
Main.java:24: error: package MatrixMultiplyResourse does not exist
			Result = (Result + MatrixMultiplyResourse.A.mat[R][i] * MatrixMultiplyResourse.A.mat[i][C]) % Mod;
			                                                                              ^
Main.java:26: error: cannot find symbol
		MatrixMultiplyResourse.Sum++;
		^
  symbol:   variable MatrixMultiplyResourse
  location: class MatrixMultiplyThread
5 errors
Language: Java

public class P00 {
	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 P00 is public, should be declared in a file named P00.java
public class P00 {
       ^
1 error
Language: Java

package volume00;

public class P00 {
	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:3: error: class P00 is public, should be declared in a file named P00.java
public class P00 {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:3: error: variable a is already defined in method main(String[])
int i,j,a;
        ^
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++){
				int a=i*j;
				System.out.println(i+"X"+j+"="+a);
			}
			
		}

    }
}

Compiler output:
Main.java:5: error: variable a is already defined in method main(String[])
				int a=i*j;
				    ^
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 + " + j + "=" + i*j);
			}
		}
	}
	
}

Compiler output:
Main.java:9: error: unclosed string literal
				System.out.println(i + " + j + "=" + i*j);
				                                 ^
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:1: error: '{' expected
class Main(){
          ^
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 Q0000 {

	public static void main(String[] args) {
		/*
		1x1=1
		1x2=2
		.
		.
		9x8=72
		9x9=81
		*/
		for (int i = 1; i < 10; i++) {
			for (int n = 1; n < 10; n++) {
				System.out.println(i + "x" + n + "=" + (i * n));
			}
		}
		
	}
}

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

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:1: error: class, interface, enum, or record expected
for (int i = 1;  i <10; i++) {
^
Main.java:1: error: class, interface, enum, or record expected
for (int i = 1;  i <10; i++) {
                 ^
Main.java:1: error: class, interface, enum, or record expected
for (int i = 1;  i <10; i++) {
                        ^
Main.java:2: error: class, interface, enum, or record expected
            for (int j = 1; j < 10; j++) {
                            ^
Main.java:2: error: class, interface, enum, or record expected
            for (int j = 1; j < 10; j++) {
                                    ^
Main.java:4: error: class, interface, enum, or record expected
            }
            ^
6 errors
Language: Java

package hoge.hoge.com;

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:3: error: class HelloWorld is public, should be declared in a file named HelloWorld.java
public class HelloWorld {
       ^
1 error
Language: Java

public static void main(String[] args) throws Exception
	{
		qq();
	}

	public static void qq()
	{
		for (int i = 1; i < 10; i++){
			for (int j = 1; j < 10; j++){
				System.out.print(i + "x" + j + "=" + i * j + "\n");
			}
		}
	}

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