class Employee
{
int emp_no;
String name;
// department is static variable so it will allocate
//memory only once at compile time
static String department ="IT";
Employee(int e,String n)
{
emp_no = e;
name = n;
}
void display ()
{
System.out.println("emp_no " + emp_no + " department = " + department);
}
}
public class Main
{
public static void main(String args[])
{
Employee e1 = new Employee(111,"raj");
Employee e2 = new Employee(222,"aditya");
e1.display();
e2.display();
}
}