I know that int uses 32 bits. Long uses 64 bits and etc... But, how can we know how much memory our object uses? I have a class like this:
class Utils{
public String getName(Context context){
return "Sambhav"
}
}
Now, how can I know how much memory does this class use?