hai iam new to this forum and new to java world too and hope u all will help me out in answering to my queries:
why the below program is giving the comiple time errors:
public class objectDemo
{
objectDemo()
{
System.out.println("iam in the construtor

jectDemo()");
}
public Class getClass()
{
System.out.println("returns the class of the object");
}
public int hashCode()
{
System.out.println("returns the hashCode of the object");
}
public boolean equals(Object obj)
{
System.out.println("returns the boolean value of the object");
}
protected void copy(Object src)
{
System.out.println("copies the contents of specified into the current object");
}
public static void main(String args[])
{
objectDemo od = new objectDemo();
od.getClass();
od.hashCode();
od.equals(Object ramu);
od.copy(Object venkat);
}
}