Why are the files of C++ after compiling called object file? For example if I type in in the linux shell
g++ -c <name>.cpp
I understood how they are working but the name confuse me a little bit.
If I'm not mistaken *.o files are similar to *.class files in Java, right?