class Employee
{
string id;
string name;
string grade;
public void initemployeeDetails(string id;string nam;string gr)
{
id=i;
name=nam;
grade=gr;
}
public void display()
{
system.out.println("id of employee is"+id);
system.out.println("name of employee is"+name);
system.out.println("grade of employee is"+grade);
}
public static void main(String args[])
{
Employee e1=new Employee();
e1.initemployeeDetails("A###","charan","under");
e1.display();
}
}