Sample Class Program in Java

class ForgetCode
{
public void Welcome()
{
System.out.println("Welcome To Our Site");
}
}
class ForgetCodeMain
{
public static void main(String args[])
{
ForgetCode fc=new ForgetCode();
fc.Welcome();
}
}