You are on page 1of 3

1. Three similarities and two differences between .exe and bytecode .class files.

.exe .class
The source code of a C programming file is The source code of a Java programming file is
compiled into .exe file (by GCC) compiled into .class file (by javac)
.exe filed generated after compilation is machine .class file is machine independent, and any
dependent. It must be run on the same computer computer with JVM can interpret the bytecode,
in which the source code is compiled, so it is not making it portable.
portable

1. Both bytecode and executable files are not human readable.


2. Both are translated from source code into a machine language program called object code.
3. Both are linked with other supporting library code before executed on the machine.

2. Ceil Without Math.ceil()


3. Loop Iteration

4. Incorrect conversion
5.

You might also like