Java can't find main(String[]) method in class

Java can't find main(String[]) method in class

Lautturi.java

import java.util.*;

public class Lautturi {

	public static void main(String[] args) {
		int num;    
		Object obj_01 = new Object();    
		num=obj_01.hashCode();
		System.out.println("Hash Code of the object is: " + num);
	}

}
‮‬Source:www.lautturi.com
  • the file name Lautturi must be same as class name.
  • the main function must be "public static void".
  • are there other classes?
Created Time:2017-09-01 22:41:21  Author:lautturi