A class is used in Java and it contains bytecode this is then intrepreted bythe JVMA exe is a binary file it can directly interact with the hardware of thesystem