Correct Answer : B
A: Initially Java was called Oak not Cloak.
B: The intention in conceiving java was to have a language which is portable that is which can be used on any platform. This idea helped in evolution of java. So platform independence is main motivation.
C: Platform independence means ability to write programs and run it anywhere. This made java more popular.
D: Java is not code compatible with C and C++. It has syntax which is similar to C and C++ but is not compatible with C, C++.
Hence the correct statement is B