After removing the egg shell when it is kept in contact of water, the egg swells due to the movement of water from outside to inside the egg. It increases the volume of egg.
When egg is placed in sugar cane juice, it would shrink because the water moves out from it as the sugar solution is more concentrated.