Pregunta de entrevista de HCLTech

Why RMI why not RPC? How a particular class gets loaded into memory?