Correct Answer : A
WOCA : WOCA stands for "Write Once, Compile Anywhere"
WORA : WORA stands for "Write once, Run Anywhere"
Java's main theme is platform independence. So it supports WORA. The bytecode is portable which was helpful in adding flavour of WORA in Java.
C++ source code on compilation gives object code which is not portable. So it supports WOCA principle but not WORA.