public class MyClass implements Serializable{
Here is your instance variable
}
Now you want to pass the object of this class in startActivity. Simply use this:
Bundle b = new Bundle();
b.putSerializable("name", myClassObject);
intent.putExtras(b);
This works here because MyClass implements Serializable
.