redBus India interview question

Difference between object in Java and structure in C