GUVI
Back

Error: Could not find or load main class Main How to fix this problem

Created 2 years ago
42 Views
1 Comments
KarthicTfUN4x
@KarthicTfUN4x
KarthicTfUN4x
@KarthicTfUN4xProfile is locked. Login

import java.util.Scanner;

class main{

public static void main(String[] args){

Scanner name=new Scanner(System.in);

String st=name.nextLine();

System.out.println(name.nextLine());

}

}

>> Compiling your code
Output:
>>> Error: Could not find or load main class Main


Runtime Error (NZEC)
Execution Time:
>>> 0.087s
Memory Used:
>>> 9384
Comments
Please login to comment.
 
Powered by habitate.io Habitate