How does Java manage platform independence compared to C?
Java uses a JVM for platform independence, whereas C is compiled directly into machine code which is platform-dependent.
Great! You've got the platform independence concept spot on.
Can you explain why C programs often require recompilation when moving between different operating systems?