I have an object called "obj" of following class:

Java Code:
public class Student {
private int id;
private String name;

public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
}
I want to know the size (in bytes) taken by object "obj" of class Student. How can I do this?