class Worker {
public int id;
public String name;
public Worker(int _id, String s) {
this.id = _id;
this.name = s;
}
public void Show() {
System.out.println("ID = " + id + " : " + "Name = " + name);
}
}
public class MyClass {
public static void main(String args[]) {
Worker w = new Worker(75763, "Dumbledore");
w.Show();
}
}
/*
run:
ID = 75763 : Name = Dumbledore
*/