helow everyone!when i execute the following code,i have saved it as validateInfo.java it tells me that line 5:duplicate class:validateInfo.Please help
public interface validateInfo
{
public void validate(String empcode, String password);
}
class validateInfo implements validateInfo
{
public void update()
{
//code to update information of customer
}
public static void main(String a1[])
{
updateInfo o= new updateInfo();
p.update();
System.out.println("Information updated");
}
}